projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea0205
)
edac: mpc85xx: fix building as a module
author
Kumar Gala
<
[email protected]
>
Fri, 23 May 2008 20:04:58 +0000
(13:04 -0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 24 May 2008 16:56:13 +0000
(09:56 -0700)
including of <asm/mpc85xx.h> causes build problems since it doesn't exist.
Also removed warning:
drivers/edac/mpc85xx_edac.c:45: warning: 'mpc85xx_ctl_name' defined but not used
Signed-off-by: Kumar Gala <
[email protected]
>
Acked-by: Doug Thompson <
[email protected]
>
Acked-by: Dave Jiang <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/edac/mpc85xx_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/mpc85xx_edac.c
b/drivers/edac/mpc85xx_edac.c
index 065732ddf40c84c2a089868e5586ddbbcdf48c03..d49361bfe670e09a4af2dfae7ec99d9646851716 100644
(file)
--- a/
drivers/edac/mpc85xx_edac.c
+++ b/
drivers/edac/mpc85xx_edac.c
@@
-20,7
+20,6
@@
#include <linux/of_platform.h>
#include <linux/of_device.h>
-#include <asm/mpc85xx.h>
#include "edac_module.h"
#include "edac_core.h"
#include "mpc85xx_edac.h"
@@
-43,8
+42,6
@@
static u32 orig_pci_err_en;
static u32 orig_l2_err_disable;
static u32 orig_hid1;
-static const char *mpc85xx_ctl_name = "MPC85xx";
-
/************************ MC SYSFS parts ***********************************/
static ssize_t mpc85xx_mc_inject_data_hi_show(struct mem_ctl_info *mci,