From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Wed, 26 Nov 2008 05:30:53 +0000 Subject: [PATCH] Fix switch statement for video type Message-Id: <492CDF0D.10903@holtmann.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Introducing the video type, creating a fall-through case where other devices might now be declared as type video. diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index 91e3ecc..ce1eb0b 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -70,6 +70,7 @@ static void set_usb_iftype(char *to, int if_class_num, size_t case 0x0a: /* CDC-Data */ case 0x0b: /* Chip/Smart Card */ case 0x0d: /* Content Security */ + break; case 0x0e: type = "video"; break;