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

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;