projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec23802
)
drm/nouveau: use I2C_MODULE_PREFIX kernel define
author
Lucas Stach
<dev@lynxeye.de>
Sun, 6 Feb 2011 21:42:54 +0000
(22:42 +0100)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 24 Feb 2011 20:44:33 +0000
(06:44 +1000)
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_temp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_temp.c
b/drivers/gpu/drm/nouveau/nouveau_temp.c
index 8d9968e1cba8fc47f0b655d16d8aa46c9b8c0554..649b0413b09fc7eee2d7ddf9cd1f1621daa48253 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_temp.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_temp.c
@@
-239,11
+239,9
@@
static bool
probe_monitoring_device(struct nouveau_i2c_chan *i2c,
struct i2c_board_info *info)
{
- char modalias[16] = "i2c:";
struct i2c_client *client;
- strlcat(modalias, info->type, sizeof(modalias));
- request_module(modalias);
+ request_module("%s%s", I2C_MODULE_PREFIX, info->type);
client = i2c_new_device(&i2c->adapter, info);
if (!client)