On Thursday, November 28, 2013 11:02 AM, Jingoo Han wrote:
>
> This macro is used to create a struct pci_device_id array.
>
> Signed-off-by: Jingoo Han <[email protected]>
Please, ignore these patches.
As Greg Kroah-Hartman said, I will send the patch to remove
'DEFINE_PCI_DEVICE_TABLE' instead.
Sorry for annoying. :-)
Best regards,
Jingoo Han
> ---
> drivers/usb/gadget/goku_udc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/goku_udc.c b/drivers/usb/gadget/goku_udc.c
> index f827680..120ba8a 100644
> --- a/drivers/usb/gadget/goku_udc.c
> +++ b/drivers/usb/gadget/goku_udc.c
> @@ -1803,7 +1803,7 @@ err:
>
> /*-------------------------------------------------------------------------*/
>
> -static const struct pci_device_id pci_ids[] = { {
> +static DEFINE_PCI_DEVICE_TABLE(pci_ids) = { {
> .class = ((PCI_CLASS_SERIAL_USB << 8) | 0xfe),
> .class_mask = ~0,
> .vendor = 0x102f, /* Toshiba */
> --
> 1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html