summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/siano
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-10 13:04:44 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 11:48:41 +0100
commit503efe5cfc9fb9f67a6659c4ab39174b442876f3 (patch)
tree571f126b52f1d0ed78e009d1f00cf5f9c3b1c4a1 /drivers/media/usb/siano
parent[media] siano: allow showing the complete statistics via debugfs (diff)
downloadlinux-503efe5cfc9fb9f67a6659c4ab39174b442876f3.tar.xz
linux-503efe5cfc9fb9f67a6659c4ab39174b442876f3.zip
[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;