OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ce8ef
)
powerpc/cpm2: fix building fs_enet driver as a module.
author
Grant Likely
<grant.likely@secretlab.ca>
Thu, 19 Mar 2009 04:21:23 +0000
(22:21 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Thu, 19 Mar 2009 09:00:01 +0000
(
04:00
-0500)
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
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/cpm2.c
b/arch/powerpc/sysdev/cpm2.c
index
474d176
..
fd969f0
100644
(file)
--- 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