Skip to contentSkip to conversation

extcon: Fix module autoload for OF platform drivers

PATCH In review Luis de Bethencourt 3 participants 3 messages Sep 17, 2015 – Sep 21, 2015

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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/519

Thanks,
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 driver

 drivers/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
#2 lore raw

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/519

Thanks,
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 driver

 drivers/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