mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
[ARM] pxa: fix incorrect CONFIG_CPU_PXA27x to CONFIG_PXA27x
Reported-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
7fad69861d
commit
59376cc355
@ -2561,7 +2561,7 @@ static void pxa_udc_shutdown(struct platform_device *_dev)
|
||||
udc_disable(udc);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CPU_PXA27x
|
||||
#ifdef CONFIG_PXA27x
|
||||
extern void pxa27x_clear_otgph(void);
|
||||
#else
|
||||
#define pxa27x_clear_otgph() do {} while (0)
|
||||
|
@ -203,7 +203,7 @@ static inline void pxa27x_reset_hc(struct pxa27x_ohci *ohci)
|
||||
__raw_writel(uhchr & ~UHCHR_FHR, ohci->mmio_base + UHCHR);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CPU_PXA27x
|
||||
#ifdef CONFIG_PXA27x
|
||||
extern void pxa27x_clear_otgph(void);
|
||||
#else
|
||||
#define pxa27x_clear_otgph() do {} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user