diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/of/of_i2c.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/of/of_i2c.c')
-rw-r--r-- | drivers/of/of_i2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c index 0a694debd226..f37fbeb66a44 100644 --- a/drivers/of/of_i2c.c +++ b/drivers/of/of_i2c.c | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/i2c.h> | 14 | #include <linux/i2c.h> |
15 | #include <linux/irq.h> | ||
15 | #include <linux/of.h> | 16 | #include <linux/of.h> |
16 | #include <linux/of_i2c.h> | 17 | #include <linux/of_i2c.h> |
17 | #include <linux/of_irq.h> | 18 | #include <linux/of_irq.h> |
@@ -60,7 +61,7 @@ void of_i2c_register_devices(struct i2c_adapter *adap) | |||
60 | info.of_node = of_node_get(node); | 61 | info.of_node = of_node_get(node); |
61 | info.archdata = &dev_ad; | 62 | info.archdata = &dev_ad; |
62 | 63 | ||
63 | request_module("%s", info.type); | 64 | request_module("%s%s", I2C_MODULE_PREFIX, info.type); |
64 | 65 | ||
65 | result = i2c_new_device(adap, &info); | 66 | result = i2c_new_device(adap, &info); |
66 | if (result == NULL) { | 67 | if (result == NULL) { |