diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 02:06:14 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 12:46:57 -0500 |
commit | 2f5f89be6f2216f93d44f2609b182df932a929b4 (patch) | |
tree | 603338be23bc5413d8cefca10917b5f820f20410 /drivers/mfd/88pm860x-core.c | |
parent | 5a924d13ecdd433fd2c7eb268b72a2770ef2204a (diff) |
mfd: Fix pm8606 build failure
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>
Diffstat (limited to 'drivers/mfd/88pm860x-core.c')
-rw-r--r-- | drivers/mfd/88pm860x-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ out: | |||
542 | mutex_unlock(&chip->osc_lock); | 542 | mutex_unlock(&chip->osc_lock); |
543 | return ret; | 543 | return ret; |
544 | } | 544 | } |
545 | EXPORT_SYMBOL(pm8606_osc_enable); | ||
545 | 546 | ||
546 | int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client) | 547 | int pm8606_osc_disable(struct pm860x_chip *chip, unsigned short client) |
547 | { | 548 | { |
@@ -580,6 +581,7 @@ out: | |||
580 | mutex_unlock(&chip->osc_lock); | 581 | mutex_unlock(&chip->osc_lock); |
581 | return ret; | 582 | return ret; |
582 | } | 583 | } |
584 | EXPORT_SYMBOL(pm8606_osc_disable); | ||
583 | 585 | ||
584 | static void __devinit device_osc_init(struct i2c_client *i2c) | 586 | static void __devinit device_osc_init(struct i2c_client *i2c) |
585 | { | 587 | { |