aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2014-11-04 20:18:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 12:02:38 -0500
commitd67bba78b308f7753dc5b4d5801f67817967b736 (patch)
treeae529765c89c4946bd194b60e7c94b766d1142dc
parent895baf2404ebc2f875fad39d2d81f98a38a8f9cc (diff)
fusbh200: Remove superfluous macro definitions
The fusbh200_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 fusbh200 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/fusbh200.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/usb/host/fusbh200.h b/drivers/usb/host/fusbh200.h
index 6e7b8c1cb877..da7152bcf9a8 100644
--- a/drivers/usb/host/fusbh200.h
+++ b/drivers/usb/host/fusbh200.h
@@ -290,24 +290,10 @@ struct fusbh200_regs {
290 */ 290 */
291struct fusbh200_dbg_port { 291struct fusbh200_dbg_port {
292 u32 control; 292 u32 control;
293#define DBGP_OWNER (1<<30)
294#define DBGP_ENABLED (1<<28)
295#define DBGP_DONE (1<<16)
296#define DBGP_INUSE (1<<10)
297#define DBGP_ERRCODE(x) (((x)>>7)&0x07)
298# define DBGP_ERR_BAD 1
299# define DBGP_ERR_SIGNAL 2
300#define DBGP_ERROR (1<<6)
301#define DBGP_GO (1<<5)
302#define DBGP_OUT (1<<4)
303#define DBGP_LEN(x) (((x)>>0)&0x0f)
304 u32 pids; 293 u32 pids;
305#define DBGP_PID_GET(x) (((x)>>16)&0xff)
306#define DBGP_PID_SET(data, tok) (((data)<<8)|(tok))
307 u32 data03; 294 u32 data03;
308 u32 data47; 295 u32 data47;
309 u32 address; 296 u32 address;
310#define DBGP_EPADDR(dev, ep) (((dev)<<8)|(ep))
311}; 297};
312 298
313#ifdef CONFIG_EARLY_PRINTK_DBGP 299#ifdef CONFIG_EARLY_PRINTK_DBGP