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@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@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to