diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2014-05-20 18:30:04 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 19:33:31 +0200 |
commit | c2db8a8a01978a1ffad735f31268a1c9c81b413e (patch) | |
tree | d7a26e2ebfe5d8f4d44fc23edc1f38da2be65a20 /drivers/usb/gadget/net2280.h | |
parent | usb: gadget: net2280: Add support for PLX USB338X (diff) | |
download | linux-c2db8a8a01978a1ffad735f31268a1c9c81b413e.tar.xz linux-c2db8a8a01978a1ffad735f31268a1c9c81b413e.zip |
usb: gadget: net2280: Dont use magic numbers
Instead of using magic numbers use #defines
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/net2280.h')
-rw-r--r-- | drivers/usb/gadget/net2280.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/net2280.h b/drivers/usb/gadget/net2280.h index a257516abbd6..30478c8ed878 100644 --- a/drivers/usb/gadget/net2280.h +++ b/drivers/usb/gadget/net2280.h @@ -43,6 +43,7 @@ set_idx_reg (struct net2280_regs __iomem *regs, u32 index, u32 value) #endif /* __KERNEL__ */ +#define PCI_VENDOR_ID_PLX_LEGACY 0x17cc #define REG_DIAG 0x0 #define RETRY_COUNTER 16 |