Skip to content

Commit

Permalink
mfd: Fix pm8606 build failure
Browse files Browse the repository at this point in the history
Reported by Andrew Morton <akpm@linux-foundation.org>, 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 <sameo@linux.intel.com>
  • Loading branch information
Samuel Ortiz committed Mar 6, 2012
1 parent 5a924d1 commit 2f5f89b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/88pm860x-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ int pm8606_osc_enable(struct pm860x_chip *chip, unsigned short client)
mutex_unlock(&chip->osc_lock);
return ret;
}
EXPORT_SYMBOL(pm8606_osc_enable);

int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client)
{
Expand Down Expand Up @@ -580,6 +581,7 @@ int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client)
mutex_unlock(&chip->osc_lock);
return ret;
}
EXPORT_SYMBOL(pm8606_osc_disable);

static void __devinit device_osc_init(struct i2c_client *i2c)
{
Expand Down

0 comments on commit 2f5f89b

Please sign in to comment.