diff options
author | Chris Rorvick <chris@rorvick.com> | 2014-11-04 20:18:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 12:02:38 -0500 |
commit | 0fa57f01278b78174848ca628ca9a87c4dd37696 (patch) | |
tree | 227493cf0484e86a614f2a8df5904596c40c6274 | |
parent | a648c147011d97e0d410f251c27175231975584d (diff) |
fotg210: Remove superfluous macro definitions
The fotg210_dbg_port struct is a copy of the ehci_dbg_port definition
in the <linux/usb/ehci_def.h> header. Embedded in this definition are
a number of macros which came along for the ride. These macros are not
used in the fotg210 driver and will conflict those in the new
<linux/usb/ehci-dbgp.h> header.
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/host/fotg210.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/usb/host/fotg210.h b/drivers/usb/host/fotg210.h index 98c9670bcf82..c2e513495704 100644 --- a/drivers/usb/host/fotg210.h +++ b/drivers/usb/host/fotg210.h | |||
@@ -298,24 +298,10 @@ struct fotg210_regs { | |||
298 | */ | 298 | */ |
299 | struct fotg210_dbg_port { | 299 | struct fotg210_dbg_port { |
300 | u32 control; | 300 | u32 control; |
301 | #define DBGP_OWNER (1<<30) | ||
302 | #define DBGP_ENABLED (1<<28) | ||
303 | #define DBGP_DONE (1<<16) | ||
304 | #define DBGP_INUSE (1<<10) | ||
305 | #define DBGP_ERRCODE(x) (((x)>>7)&0x07) | ||
306 | # define DBGP_ERR_BAD 1 | ||
307 | # define DBGP_ERR_SIGNAL 2 | ||
308 | #define DBGP_ERROR (1<<6) | ||
309 | #define DBGP_GO (1<<5) | ||
310 | #define DBGP_OUT (1<<4) | ||
311 | #define DBGP_LEN(x) (((x)>>0)&0x0f) | ||
312 | u32 pids; | 301 | u32 pids; |
313 | #define DBGP_PID_GET(x) (((x)>>16)&0xff) | ||
314 | #define DBGP_PID_SET(data, tok) (((data)<<8)|(tok)) | ||
315 | u32 data03; | 302 | u32 data03; |
316 | u32 data47; | 303 | u32 data47; |
317 | u32 address; | 304 | u32 address; |
318 | #define DBGP_EPADDR(dev, ep) (((dev)<<8)|(ep)) | ||
319 | }; | 305 | }; |
320 | 306 | ||
321 | #ifdef CONFIG_EARLY_PRINTK_DBGP | 307 | #ifdef CONFIG_EARLY_PRINTK_DBGP |