[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
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
__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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue