aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2008-08-12 10:39:13 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:41:07 -0400
commitc93eebbe75a560bb27dc1f09fb1ab7a31d04b990 (patch)
tree333ca94f83e265ceb833f436b42640efe0730f4e
parente06da9a828aa1ef52d1338b7a3d07291a04d581e (diff)
fsl_usb2_udc: Rename the arguments of the fsl_writel macro.
Rename the arguments of the fsl_writel macro to match their use. Remove a couple of unnecessary prototypes. Signed-off-by: Will Newton <will.newton@gmail.com> Acked-by: Li Yang <leoli@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/gadget/fsl_usb2_udc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 7b8cdaec260b..99a420dbdbc0 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.c
+++ b/drivers/usb/gadget/fsl_usb2_udc.c
@@ -71,16 +71,14 @@ fsl_ep0_desc = {
71 .wMaxPacketSize = USB_MAX_CTRL_PAYLOAD, 71 .wMaxPacketSize = USB_MAX_CTRL_PAYLOAD,
72}; 72};
73 73
74static int fsl_udc_suspend(struct platform_device *pdev, pm_message_t state);
75static int fsl_udc_resume(struct platform_device *pdev);
76static void fsl_ep_fifo_flush(struct usb_ep *_ep); 74static void fsl_ep_fifo_flush(struct usb_ep *_ep);
77 75
78#ifdef CONFIG_PPC32 76#ifdef CONFIG_PPC32
79#define fsl_readl(addr) in_le32(addr) 77#define fsl_readl(addr) in_le32(addr)
80#define fsl_writel(addr, val32) out_le32(val32, addr) 78#define fsl_writel(val32, addr) out_le32(addr, val32)
81#else 79#else
82#define fsl_readl(addr) readl(addr) 80#define fsl_readl(addr) readl(addr)
83#define fsl_writel(addr, val32) writel(addr, val32) 81#define fsl_writel(val32, addr) writel(val32, addr)
84#endif 82#endif
85 83
86/******************************************************************** 84/********************************************************************