diff mbox

EDAC, edac_stub: Drop arch-specific include

Message ID 20150529200520.GT31435@pd.tnic (mailing list archive)
State New, archived
Headers show

Commit Message

Borislav Petkov May 29, 2015, 8:05 p.m. UTC
On Fri, May 29, 2015 at 08:59:26PM +0200, Borislav Petkov wrote:
> Does it build when you remove it?

IOW, this should fix it:

---
From: Borislav Petkov <bp@suse.de>
Date: Fri, 29 May 2015 22:01:00 +0200
Subject: [PATCH] EDAC, edac_stub: Drop arch-specific include

<asm/edac.h> contains only the arch-specific scrubbing function and is
thus not needed in edac_stub.c. Kill it.

Signed-off-by: Borislav Petkov <bp@suse.de>
---
 drivers/edac/edac_stub.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Loc Ho May 29, 2015, 9:25 p.m. UTC | #1
Hi,

On Fri, May 29, 2015 at 1:05 PM, Borislav Petkov <bp@alien8.de> wrote:
> On Fri, May 29, 2015 at 08:59:26PM +0200, Borislav Petkov wrote:
>> Does it build when you remove it?
>
> IOW, this should fix it:

Confirmed.

-Loc
Borislav Petkov May 29, 2015, 9:41 p.m. UTC | #2
On Fri, May 29, 2015 at 02:25:52PM -0700, Loc Ho wrote:
> On Fri, May 29, 2015 at 1:05 PM, Borislav Petkov <bp@alien8.de> wrote:
> > On Fri, May 29, 2015 at 08:59:26PM +0200, Borislav Petkov wrote:
> >> Does it build when you remove it?
> >
> > IOW, this should fix it:
> 
> Confirmed.

Thanks, I'll queue it.
diff mbox

Patch

diff --git a/drivers/edac/edac_stub.c b/drivers/edac/edac_stub.c
index 9d9e18aefaaa..ff07aae5b7fb 100644
--- a/drivers/edac/edac_stub.c
+++ b/drivers/edac/edac_stub.c
@@ -16,7 +16,6 @@ 
 #include <linux/edac.h>
 #include <linux/atomic.h>
 #include <linux/device.h>
-#include <asm/edac.h>
 
 int edac_op_state = EDAC_OPSTATE_INVAL;
 EXPORT_SYMBOL_GPL(edac_op_state);