]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: Export pm80x_regmap_config
authorAxel Lin <axel.lin@gmail.com>
Mon, 9 Jul 2012 14:44:21 +0000 (22:44 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 10 Jul 2012 09:01:24 +0000 (11:01 +0200)
This fixes below build error when CONFIG_MFD_88PM800=m.

ERROR: "pm80x_regmap_config" [drivers/mfd/88pm800.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm80x.c

index 77b865594c297431d9b04c9a580954d754f6e4b5..62da342553bd66c30011b222c0bda17f3559f4d1 100644 (file)
@@ -29,6 +29,7 @@ const struct regmap_config pm80x_regmap_config = {
        .reg_bits = 8,
        .val_bits = 8,
 };
+EXPORT_SYMBOL_GPL(pm80x_regmap_config);
 
 int __devinit pm80x_init(struct i2c_client *client,
                                 const struct i2c_device_id *id)