Letux Kernel

Issue 653: Fix dependencies between drivers which make it impossible to define them as modules

Reported by Nikolaus Schaller, Aug 28, 2014

e.g.

drivers/phy/phy-twl4030-usb.c and drivers/power/twl4030_charger.c

which need void twl4030_charger_enable_usb_ext(bool enable)

This gives undefined symbol errors if the drivers are compiled as 
modules.
Therefore we need some other notification mechanism.

Why do we need to make this modules?

The GTA04 kernel should not only be optimized for OMAP3+TWL4030 but 
also for OMAP4+5.
For those we don't want to see a twl4030 driver compiled into the 
kernel.

Comment 1 by Nikolaus Schaller, Sep 6, 2014

Why do we need that? Can't we modify or simply use our charger.rule 
to trigger charging on plug-in?

Comment 2 by Nikolaus Schaller, Sep 15, 2014

Duplicate with #659
Status: Duplicate
Relations: is related to 659

Comment 3 by Nikolaus Schaller, Sep 15, 2014

Duplicate with #659

Created: 5 years 5 months ago by Nikolaus Schaller

Updated: 5 years 5 months ago

Status: Duplicate

Labels:
Type:Defect
Priority:Critical

This issue is related to
659 - twl.../power/twl4030_charger.c