提交 59376cc3 编写于 作者: E Eric Miao

[ARM] pxa: fix incorrect CONFIG_CPU_PXA27x to CONFIG_PXA27x

Reported-by: NChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 7fad6986
...@@ -2561,7 +2561,7 @@ static void pxa_udc_shutdown(struct platform_device *_dev) ...@@ -2561,7 +2561,7 @@ static void pxa_udc_shutdown(struct platform_device *_dev)
udc_disable(udc); udc_disable(udc);
} }
#ifdef CONFIG_CPU_PXA27x #ifdef CONFIG_PXA27x
extern void pxa27x_clear_otgph(void); extern void pxa27x_clear_otgph(void);
#else #else
#define pxa27x_clear_otgph() do {} while (0) #define pxa27x_clear_otgph() do {} while (0)
......
...@@ -203,7 +203,7 @@ static inline void pxa27x_reset_hc(struct pxa27x_ohci *ohci) ...@@ -203,7 +203,7 @@ static inline void pxa27x_reset_hc(struct pxa27x_ohci *ohci)
__raw_writel(uhchr & ~UHCHR_FHR, ohci->mmio_base + UHCHR); __raw_writel(uhchr & ~UHCHR_FHR, ohci->mmio_base + UHCHR);
} }
#ifdef CONFIG_CPU_PXA27x #ifdef CONFIG_PXA27x
extern void pxa27x_clear_otgph(void); extern void pxa27x_clear_otgph(void);
#else #else
#define pxa27x_clear_otgph() do {} while (0) #define pxa27x_clear_otgph() do {} while (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册