Skip to content

Commit

Permalink
ARM: pxa: pxa95x/saarb depends on pxa3xx code
Browse files Browse the repository at this point in the history
saarb uses pxa3xx_map_io and pxa3xx_handle_irq, which are part
of the pxa3xx code. This makes sure the necessary header and
implementation is used when building the board file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Eric Miao committed Oct 8, 2011
1 parent 0c82cc5 commit 654a60e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif
obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o clock-pxa2xx.o pxa2xx.o pxa25x.o
obj-$(CONFIG_PXA27x) += mfp-pxa2xx.o clock-pxa2xx.o pxa2xx.o pxa27x.o
obj-$(CONFIG_PXA3xx) += mfp-pxa3xx.o clock-pxa3xx.o pxa3xx.o smemc.o pxa3xx-ulpi.o
obj-$(CONFIG_PXA95x) += mfp-pxa3xx.o clock-pxa3xx.o pxa95x.o smemc.o
obj-$(CONFIG_PXA95x) += mfp-pxa3xx.o clock-pxa3xx.o pxa3xx.o pxa95x.o smemc.o
obj-$(CONFIG_CPU_PXA300) += pxa300.o
obj-$(CONFIG_CPU_PXA320) += pxa320.o
obj-$(CONFIG_CPU_PXA930) += pxa930.o
Expand Down
7 changes: 7 additions & 0 deletions arch/arm/mach-pxa/include/mach/pxa95x.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef __MACH_PXA95X_H
#define __MACH_PXA95X_H

#include <mach/pxa3xx.h>
#include <mach/mfp-pxa930.h>

#endif /* __MACH_PXA95X_H */
3 changes: 1 addition & 2 deletions arch/arm/mach-pxa/saarb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@

#include <mach/irqs.h>
#include <mach/hardware.h>
#include <mach/mfp.h>
#include <mach/mfp-pxa930.h>
#include <mach/gpio.h>
#include <mach/pxa95x.h>

#include "generic.h"

Expand Down

0 comments on commit 654a60e

Please sign in to comment.