headers_check fix: m68k, swab.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, June 11, 2009 - 8:59 pm

Gitweb:     http://git.kernel.org/linus/4f308e35a9bde9d6b671e8409157edb9065f117c
Commit:     4f308e35a9bde9d6b671e8409157edb9065f117c
Parent:     308e610e8c435d7875842b427dbc99de43a4aec9
Author:     Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
AuthorDate: Wed Jun 10 18:47:47 2009 +0530
Committer:  Greg Ungerer <gerg@uclinux.org>
CommitDate: Thu Jun 11 13:09:11 2009 +1000

    headers_check fix: m68k, swab.h
    
    fix the following 'make headers_check' warnings:
    
      usr/include/asm-m68k/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
      usr/include/asm-m68k/swab.h:10: found __[us]{8,16,32,64} type without #include <linux/types.h>
    
    Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
    Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
 arch/m68k/include/asm/swab.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/m68k/include/asm/swab.h b/arch/m68k/include/asm/swab.h
index 9e3054e..5b754aa 100644
--- a/arch/m68k/include/asm/swab.h
+++ b/arch/m68k/include/asm/swab.h
@@ -1,7 +1,7 @@
 #ifndef _M68K_SWAB_H
 #define _M68K_SWAB_H
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/compiler.h>
 
 #define __SWAB_64_THRU_32__
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
headers_check fix: m68k, swab.h, Linux Kernel Mailing ..., (Thu Jun 11, 8:59 pm)