| Submitter | Sam Ravnborg |
|---|---|
| Date | Jan. 1, 2009, 10:40 p.m. |
| Message ID | <1230849630-22482-1-git-send-email-sam@ravnborg.org> |
| Download | mbox | patch |
| Permalink | /patch/16243/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Sam Ravnborg <sam@ravnborg.org> Date: Thu, 1 Jan 2009 23:40:27 +0100 > Fix following warnings in jsflash.h: > > jsflash.h:11: include of <linux/types.h> is preferred over <asm/types.h> > jsflash.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h> > > Fixed by changing the include to <linux/types.h> > > Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Applied. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/arch/sparc/include/asm/jsflash.h b/arch/sparc/include/asm/jsflash.h index 3457f29..0717d9e 100644 --- a/arch/sparc/include/asm/jsflash.h +++ b/arch/sparc/include/asm/jsflash.h @@ -8,7 +8,7 @@ #define _SPARC_JSFLASH_H #ifndef _SPARC_TYPES_H -#include <asm/types.h> +#include <linux/types.h> #endif /*
Fix following warnings in jsflash.h: jsflash.h:11: include of <linux/types.h> is preferred over <asm/types.h> jsflash.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h> Fixed by changing the include to <linux/types.h> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --- arch/sparc/include/asm/jsflash.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)