Skip to content

Commit

Permalink
headers_check fix: xtensa, swab.h
Browse files Browse the repository at this point in the history
fix the following 'make headers_check' warnings:

  usr/include/asm-xtensa/swab.h:14: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-xtensa/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
  • Loading branch information
Jaswinder Singh Rajput committed Feb 1, 2009
1 parent 4810987 commit 1ff8f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/include/asm/swab.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef _XTENSA_SWAB_H
#define _XTENSA_SWAB_H

#include <asm/types.h>
#include <linux/types.h>
#include <linux/compiler.h>

#define __SWAB_64_THRU_32__
Expand Down

0 comments on commit 1ff8f73

Please sign in to comment.