Re: [PATCH] Driver Core fixes for 2.6.0-test3

From: Greg KH
Date: Fri Aug 15 2003 - 13:26:30 EST


ChangeSet 1.1152.2.5, 2003/08/14 16:55:36-07:00, greg@xxxxxxxxx

Remove usage of struct device.name from bttv driver

I missed this on the i2c series of patches.


drivers/media/video/bttv-if.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/media/video/bttv-if.c b/drivers/media/video/bttv-if.c
--- a/drivers/media/video/bttv-if.c Fri Aug 15 11:15:56 2003
+++ b/drivers/media/video/bttv-if.c Fri Aug 15 11:15:56 2003
@@ -315,7 +315,7 @@
memcpy(&btv->i2c_client, &bttv_i2c_client_template,
sizeof(struct i2c_client));

- sprintf(btv->i2c_adap.dev.name, "bt848 #%d", btv->nr);
+ sprintf(btv->i2c_adap.name, "bt848 #%d", btv->nr);
btv->i2c_adap.dev.parent = &btv->dev->dev;

btv->i2c_algo.data = btv;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/