From 2f5f89be6f2216f93d44f2609b182df932a929b4 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 6 Mar 2012 08:06:14 +0100 Subject: [PATCH] mfd: Fix pm8606 build failure Reported by Andrew Morton , 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 --- drivers/mfd/88pm860x-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c index 6ed8de71c983..87bd5ba38d5b 100644 --- a/drivers/mfd/88pm860x-core.c +++ b/drivers/mfd/88pm860x-core.c @@ -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) { @@ -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) {