Commit 4c3d514d7e5b394d1df76201aada8956c9605882

Authored by Grant Likely
1 parent f210d43ce1

[POWERPC] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels

dcr.c is an arch/powerpc only thing.  Compiling ppc405 arch/ppc kernels
throws warnings without this change.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/powerpc/sysdev/Makefile
... ... @@ -6,7 +6,6 @@
6 6 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
7 7  
8 8 obj-$(CONFIG_PPC_MPC106) += grackle.o
9   -obj-$(CONFIG_PPC_DCR) += dcr.o
10 9 obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
11 10 obj-$(CONFIG_PPC_PMI) += pmi.o
12 11 obj-$(CONFIG_U3_DART) += dart_iommu.o
... ... @@ -33,6 +32,7 @@
33 32 ifeq ($(ARCH),powerpc)
34 33 obj-$(CONFIG_CPM) += cpm_common.o
35 34 obj-$(CONFIG_CPM2) += cpm2_common.o cpm2_pic.o
  35 +obj-$(CONFIG_PPC_DCR) += dcr.o
36 36 obj-$(CONFIG_8xx) += mpc8xx_pic.o commproc.o
37 37 obj-$(CONFIG_UCODE_PATCH) += micropatch.o
38 38 endif