#include <linux/io.h>
#include <asm/mach-types.h>
-#include <asm/arch/hardware.h>
-#include <asm/arch/mux.h>
+#include <mach/hardware.h>
+#include <mach/mux.h>
#include "musb_core.h"
#include "omap2430.h"
return 0;
}
-int musb_platform_resume(struct musb *musb);
+static int musb_platform_resume(struct musb *musb);
void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
{
int __init musb_platform_init(struct musb *musb)
{
- struct otg_transceiver *xceiv = otg_get_transceiver();
+ struct otg_transceiver *x = otg_get_transceiver();
u32 l;
#if defined(CONFIG_ARCH_OMAP2430)
omap_cfg_reg(AE5_2430_USB0HS_STP);
#endif
- musb->xceiv = *xceiv;
+ musb->xceiv = *x;
musb_platform_resume(musb);
l = omap_readl(OTG_SYSCONFIG);
return 0;
}
-int musb_platform_resume(struct musb *musb)
+static int musb_platform_resume(struct musb *musb)
{
u32 l;