Skip to content

Commit

Permalink
[ARM] 5212/1: pxa: fix build error when CPU_PXA310 is not defined
Browse files Browse the repository at this point in the history
Fix
arch/arm/mach-pxa/pxa300.c:94: error: 'CKEN_MMC3' undeclared here (not in a function)
when building for PXA300.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Mike Rapoport authored and Russell King committed Aug 20, 2008
1 parent d90c1ad commit 55d8460
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-pxa/pxa300.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ static struct clk common_clks[] = {
};

static struct clk pxa310_clks[] = {
#ifdef CONFIG_CPU_PXA310
PXA3xx_CKEN("MMCCLK", MMC3, 19500000, 0, &pxa3xx_device_mci3.dev),
#endif
};

static int __init pxa300_init(void)
Expand Down

0 comments on commit 55d8460

Please sign in to comment.