X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fof%2Fof_i2c.c;h=24bbef777c1914cfb7096cec8f198fdbc7512618;hb=5579a782ad7ffa162b1060993e4a298dd50e7a33;hp=6a98dc8aa30b1af9a1e8ce9a2a8264073a631eee;hpb=7e31aa11fc672bbe0dd0da59513c9efe3809ced7;p=linux-2.6-omap-h63xx.git diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c index 6a98dc8aa30..24bbef777c1 100644 --- a/drivers/of/of_i2c.c +++ b/drivers/of/of_i2c.c @@ -41,7 +41,7 @@ void of_register_i2c_devices(struct i2c_adapter *adap, info.addr = *addr; - request_module(info.type); + request_module("%s", info.type); result = i2c_new_device(adap, &info); if (result == NULL) {