diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-03-19 00:21:23 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-19 05:00:01 -0400 |
commit | 6e27cca9155074a0a7a284b51c00304ca0694f00 (patch) | |
tree | 2989e8b9d0d567c174c1be244f9363eee9345f1e /arch/powerpc/sysdev/cpm2.c | |
parent | 01ce8ef5e8abec5bda5ffdd9088dfa2b66c2a1dc (diff) |
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 <grant.likely@secretlab.ca>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index 474d176a6ec3..fd969f0e3121 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 */ | |||
52 | * the communication processor devices. | 52 | * the communication processor devices. |
53 | */ | 53 | */ |
54 | cpm2_map_t __iomem *cpm2_immr; | 54 | cpm2_map_t __iomem *cpm2_immr; |
55 | EXPORT_SYMBOL(cpm2_immr); | ||
55 | 56 | ||
56 | #define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount | 57 | #define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount |
57 | of space for CPM as it is larger | 58 | of space for CPM as it is larger |