From: Grant Likely Date: Thu, 19 Mar 2009 04:21:23 +0000 (-0600) Subject: powerpc/cpm2: fix building fs_enet driver as a module. X-Git-Tag: upstream/snapshot3+hdmi~19882^2~31^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e27cca9155074a0a7a284b51c00304ca0694f00;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git powerpc/cpm2: fix building fs_enet driver as a module. Building the fs_enet driver as a modules fails because it cannot access the global cpm2_immr symbol. Signed-off-by: Grant Likely Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index 474d176..fd969f0 100644 --- a/arch/powerpc/sysdev/cpm2.c +++ b/arch/powerpc/sysdev/cpm2.c @@ -52,6 +52,7 @@ cpm_cpm2_t __iomem *cpmp; /* Pointer to comm processor space */ * the communication processor devices. */ cpm2_map_t __iomem *cpm2_immr; +EXPORT_SYMBOL(cpm2_immr); #define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount of space for CPM as it is larger