summaryrefslogtreecommitdiff
path: root/drivers/media/usb/siano
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-10 09:04:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 07:48:41 -0300
commit503efe5cfc9fb9f67a6659c4ab39174b442876f3 (patch)
tree571f126b52f1d0ed78e009d1f00cf5f9c3b1c4a1 /drivers/media/usb/siano
parent3f6b87cff66bb8507aefd62559c516dd7c8f822a (diff)
[media] siano: split debugfs code into a separate file
To avoid mixing two different things at the same place, move the debugfs code into a separate file. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/siano')
-rw-r--r--drivers/media/usb/siano/smsusb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index acd3d1e82e03..def5e41405a4 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -412,6 +412,8 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
smscore_set_board_id(dev->coredev, board_id);
+ dev->coredev->is_usb_device = true;
+
/* initialize urbs */
for (i = 0; i < MAX_URBS; i++) {
dev->surbs[i].dev = dev;