aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smsusb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-06 02:52:44 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:21:05 -0400
commit55ad310c2f21281f50fa040b7765a4a1151bd420 (patch)
treeb76f58de35e514b135d8af51abc6017071c5b39c /drivers/media/dvb/siano/smsusb.c
parenta83ccdd6a952eb25d3f51dfdc175c1e9bf8f7cae (diff)
V4L/DVB (8276): sms1xxx: codingstyle cleanup: "(foo*)" should be "(foo *)"
ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smsusb.c')
-rw-r--r--drivers/media/dvb/siano/smsusb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/siano/smsusb.c b/drivers/media/dvb/siano/smsusb.c
index 87dda39a7985..1677f8591508 100644
--- a/drivers/media/dvb/siano/smsusb.c
+++ b/drivers/media/dvb/siano/smsusb.c
@@ -86,7 +86,8 @@ void smsusb_onresponse(struct urb *urb)
86 } 86 }
87 87
88 // move buffer pointer and copy header to its new location 88 // move buffer pointer and copy header to its new location
89 memcpy((char*) phdr + surb->cb->offset, phdr, sizeof(SmsMsgHdr_ST)); 89 memcpy((char *) phdr + surb->cb->offset,
90 phdr, sizeof(SmsMsgHdr_ST));
90 } 91 }
91 else 92 else
92 surb->cb->offset = 0; 93 surb->cb->offset = 0;
@@ -264,7 +265,7 @@ int smsusb1_setmode(void *context, int mode)
264 265
265void smsusb_term_device(struct usb_interface *intf) 266void smsusb_term_device(struct usb_interface *intf)
266{ 267{
267 smsusb_device_t *dev = (smsusb_device_t*) usb_get_intfdata(intf); 268 smsusb_device_t *dev = (smsusb_device_t *) usb_get_intfdata(intf);
268 269
269 if (dev) 270 if (dev)
270 { 271 {