mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mfd: Fix pm8606 build failure
Reported by Andrew Morton <[email protected]>, with i386 allmodconfig: ERROR: "pm8606_osc_disable" [drivers/video/backlight/88pm860x_bl.ko] undefined! ERROR: "pm8606_osc_enable" [drivers/video/backlight/88pm860x_bl.ko] undefined! ERROR: "pm8606_osc_disable" [drivers/leds/leds-88pm860x.ko] undefined! ERROR: "pm8606_osc_enable" [drivers/leds/leds-88pm860x.ko] undefined! Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
5a924d13ec
commit
2f5f89be6f
1 changed files with 2 additions and 0 deletions
|
|
@ -542,6 +542,7 @@ out:
|
|||
mutex_unlock(&chip->osc_lock);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(pm8606_osc_enable);
|
||||
|
||||
int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client)
|
||||
{
|
||||
|
|
@ -580,6 +581,7 @@ out:
|
|||
mutex_unlock(&chip->osc_lock);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(pm8606_osc_disable);
|
||||
|
||||
static void __devinit device_osc_init(struct i2c_client *i2c)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue