On Tue, May 2, 2017 at 6:45 AM, Eduardo Molinas <edu.molinas@xxxxxxxxx> wrote: > If the driver is built as a module, it won't be autloaded if the devices > are registered via OF code because the OF device table > entries are not exported as aliases > > Before the patch: > $ modinfo drivers/iio/adc/sun4i-gpadc-iio.ko | grep alias > alias: platform:sun6i-a31-gpadc-iio > alias: platform:sun5i-a13-gpadc-iio > alias: platform:sun4i-a10-gpadc-iio > > After the patch: > $ modinfo drivers/iio/adc/sun4i-gpadc-iio.ko | grep alias > alias: of:N*T*Callwinner,sun8i-a33-thsC* > alias: of:N*T*Callwinner,sun8i-a33-ths > alias: platform:sun6i-a31-gpadc-iio > alias: platform:sun5i-a13-gpadc-iio > alias: platform:sun4i-a10-gpadc-iio > > Signed-off-by: Eduardo Molinas <edu.molinas@xxxxxxxxx> Acked-by: Chen-Yu Tsai <wens@xxxxxxxx> Can we merge this as a fix for 4.12? -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html