[OpenWrt-Devel] kmod-gpio-mcp23s08 not working/available for linux-4.14

John Crispin john at phrozen.org
Thu Aug 23 06:17:00 EDT 2018



On 23/08/18 11:53, Martin Schiller wrote:
> The mcp23s08 drivers was moved from gpio to pinctrl "subsystem" in 
> linux-4.13.
>
> As linux-4.9 is still used for some targets, how to proceed with this 
> mcp23s08 driver?
> Create a new (second) CONFIG option (kmod-pinctrl-mcp23s08) coexisting 
> to the kmod-gpio-mcp23s08?
>
> Or is it possible to get this handled by the existing CONFIG option 
> and depend on the kernel version?
> Any hints are welcome.
>
> - Martin
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
add an ifdef guarded sections that check the kernel version inside the 
module mk files ?
     John

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list