Skip to content

Commit

Permalink
mfd: Export pm80x_regmap_config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Jul 10, 2012
1 parent 2984fc0 commit 78a73e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/88pm80x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 78a73e5

Please sign in to comment.