diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-31 14:36:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-21 14:19:44 -0400 |
commit | b877763ea01d740f6c62a35c45b7351fec9c288d (patch) | |
tree | 3fc489e9f4d2b017814d5c67555a27c3e82571ad /drivers | |
parent | 5b889e379f340f43b1252abde5d37a7084c846b9 (diff) |
edac/ppc4xx_edac: Fix compilation
It seems that nobody is cross-compiling for this arch anymore...
drivers/edac/ppc4xx_edac.c: In function 'ppc4xx_edac_probe':
drivers/edac/ppc4xx_edac.c:188:12: error: storage class specified for parameter 'ppc4xx_edac_remove'
...
drivers/edac/ppc4xx_edac.c:1068:19: error: 'match' undeclared (first use in this function)
drivers/edac/ppc4xx_edac.c:1068:19: note: each undeclared identifier is reported only once for each function it appears in
drivers/edac/ppc4xx_edac.c:1068:36: warning: left-hand operand of comma expression has no effect [-Wunused-value]
Acked-by: Josh Boyer <jwboyer@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/ppc4xx_edac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c index fc757069c6af..d427c69bb8b1 100644 --- a/drivers/edac/ppc4xx_edac.c +++ b/drivers/edac/ppc4xx_edac.c | |||
@@ -184,7 +184,7 @@ struct ppc4xx_ecc_status { | |||
184 | 184 | ||
185 | /* Function Prototypes */ | 185 | /* Function Prototypes */ |
186 | 186 | ||
187 | static int ppc4xx_edac_probe(struct platform_device *device) | 187 | static int ppc4xx_edac_probe(struct platform_device *device); |
188 | static int ppc4xx_edac_remove(struct platform_device *device); | 188 | static int ppc4xx_edac_remove(struct platform_device *device); |
189 | 189 | ||
190 | /* Global Variables */ | 190 | /* Global Variables */ |
@@ -1068,7 +1068,7 @@ ppc4xx_edac_mc_init(struct mem_ctl_info *mci, | |||
1068 | 1068 | ||
1069 | mci->mod_name = PPC4XX_EDAC_MODULE_NAME; | 1069 | mci->mod_name = PPC4XX_EDAC_MODULE_NAME; |
1070 | mci->mod_ver = PPC4XX_EDAC_MODULE_REVISION; | 1070 | mci->mod_ver = PPC4XX_EDAC_MODULE_REVISION; |
1071 | mci->ctl_name = match->compatible, | 1071 | mci->ctl_name = ppc4xx_edac_match->compatible, |
1072 | mci->dev_name = np->full_name; | 1072 | mci->dev_name = np->full_name; |
1073 | 1073 | ||
1074 | /* Initialize callbacks */ | 1074 | /* Initialize callbacks */ |