Commit 7398d54c authored by Art Haas's avatar Art Haas Committed by Greg Kroah-Hartman

[PATCH] designated initializers in drivers_usb_class_audio.c

  Here's a patch for additional designated initializers in
  drivers/usb/class/audio.c. Patch is against 2.5.27.
parent 79fea11e
...@@ -2745,8 +2745,8 @@ static void * usb_audio_probe(struct usb_device *dev, unsigned int ifnum, ...@@ -2745,8 +2745,8 @@ static void * usb_audio_probe(struct usb_device *dev, unsigned int ifnum,
static void usb_audio_disconnect(struct usb_device *dev, void *ptr); static void usb_audio_disconnect(struct usb_device *dev, void *ptr);
static struct usb_device_id usb_audio_ids [] = { static struct usb_device_id usb_audio_ids [] = {
{ match_flags: (USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_SUBCLASS), { .match_flags = (USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_SUBCLASS),
bInterfaceClass: USB_CLASS_AUDIO, bInterfaceSubClass: 1}, .bInterfaceClass = USB_CLASS_AUDIO, .bInterfaceSubClass = 1},
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment