extcon: Fix module autoload for OF platform drivers
cover extcon: Fix module autoload for OF platform drivers
Hello,
These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly.
A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519
Thanks,
Luis
Luis de Bethencourt (2):
extcon: rt8973a: Fix module autoload for OF platform driver
extcon: sm5502: Fix module autoload for OF platform driver
drivers/extcon/extcon-rt8973a.c | 1 + drivers/extcon/extcon-sm5502.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.4.6
Hello Luis,
Quoted 12 lines · Luis de Bethencourt
Hello,
These patches add the missing
MODULE_DEVICE_TABLE()for OF to export the information so modules have the correct aliases built-in and autoloading works correctly.A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519Thanks,
Luis
Quoted 8 lines
Luis de Bethencourt (2):
extcon: rt8973a: Fix module autoload for OF platform driver
extcon: sm5502: Fix module autoload for OF platform driverdrivers/extcon/extcon-rt8973a.c | 1 + drivers/extcon/extcon-sm5502.c | 1 + 2 files changed, 2 insertions(+)
I already posted the same patch https://patchwork.kernel.org/patch/6904111/
as a part of the series with fixes for the I2C drivers.
Best regards,
Signature · 3 lines
Javier Martinez Canillas Open Source Group Samsung Research America
Hello Luis,
Quoted 24 lines · Javier Martinez Canillas
Hello Luis,
Quoted 12 lines · Luis de Bethencourt
Hello,
These patches add the missing
MODULE_DEVICE_TABLE()for OF to export the information so modules have the correct aliases built-in and autoloading works correctly.A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519Thanks,
LuisQuoted 8 lines
Luis de Bethencourt (2):
extcon: rt8973a: Fix module autoload for OF platform driver
extcon: sm5502: Fix module autoload for OF platform driverdrivers/extcon/extcon-rt8973a.c | 1 + drivers/extcon/extcon-sm5502.c | 1 + 2 files changed, 2 insertions(+)
Quoted 5 lines
I already posted the same patch https://patchwork.kernel.org/patch/6904111/
as a part of the series with fixes for the I2C drivers.Best regards,
As Javier said, the same patch was already applied on following branch[1].
https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-next
Thanks,
Chanwoo Choi