diff options
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c b/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c index 59b0ed1a56b1..70798ac911ef 100644 --- a/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c +++ b/arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | |||
@@ -160,10 +160,16 @@ static const struct i2c_device_id mcu_ids[] = { | |||
160 | }; | 160 | }; |
161 | MODULE_DEVICE_TABLE(i2c, mcu_ids); | 161 | MODULE_DEVICE_TABLE(i2c, mcu_ids); |
162 | 162 | ||
163 | static struct of_device_id mcu_of_match_table[] __devinitdata = { | ||
164 | { .compatible = "fsl,mcu-mpc8349emitx", }, | ||
165 | { }, | ||
166 | }; | ||
167 | |||
163 | static struct i2c_driver mcu_driver = { | 168 | static struct i2c_driver mcu_driver = { |
164 | .driver = { | 169 | .driver = { |
165 | .name = "mcu-mpc8349emitx", | 170 | .name = "mcu-mpc8349emitx", |
166 | .owner = THIS_MODULE, | 171 | .owner = THIS_MODULE, |
172 | .of_match_table = mcu_of_match_table, | ||
167 | }, | 173 | }, |
168 | .probe = mcu_probe, | 174 | .probe = mcu_probe, |
169 | .remove = __devexit_p(mcu_remove), | 175 | .remove = __devexit_p(mcu_remove), |