diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-14 21:24:50 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-19 05:00:05 -0400 |
commit | 3827c510b5a9a97017ecabdfca2ae7a6c29e2385 (patch) | |
tree | ded6f6dc2100cd248102ca184377f18b444c87f0 /drivers/mfd | |
parent | 6111ec70357022ccd037399c13f69900431850b4 (diff) |
mfd: bcm590xx: Fix type argument for module device table
This fixes below build error.
FATAL: drivers/mfd/bcm590xx: sizeof(struct i2c_device_id)=24 is not a modulo of the size of section __mod_i2c_device_table=392.
Fix definition of struct i2c_device_id in mod_devicetable.h
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/bcm590xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/bcm590xx.c b/drivers/mfd/bcm590xx.c index 926a57e4d533..e9a33c79431b 100644 --- a/drivers/mfd/bcm590xx.c +++ b/drivers/mfd/bcm590xx.c | |||
@@ -68,7 +68,7 @@ static const struct of_device_id bcm590xx_of_match[] = { | |||
68 | { .compatible = "brcm,bcm59056" }, | 68 | { .compatible = "brcm,bcm59056" }, |
69 | { } | 69 | { } |
70 | }; | 70 | }; |
71 | MODULE_DEVICE_TABLE(i2c, bcm590xx_of_match); | 71 | MODULE_DEVICE_TABLE(of, bcm590xx_of_match); |
72 | 72 | ||
73 | static const struct i2c_device_id bcm590xx_i2c_id[] = { | 73 | static const struct i2c_device_id bcm590xx_i2c_id[] = { |
74 | { "bcm59056" }, | 74 | { "bcm59056" }, |