powerpc/cpm2: fix building fs_enet driver as a module.
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 19 Mar 2009 04:21:23 +0000 (22:21 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 Mar 2009 09:00:01 +0000 (04:00 -0500)
commit6e27cca9155074a0a7a284b51c00304ca0694f00
tree2989e8b9d0d567c174c1be244f9363eee9345f1e
parent01ce8ef5e8abec5bda5ffdd9088dfa2b66c2a1dc
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>
arch/powerpc/sysdev/cpm2.c