[PATCH 10/24] sh/uapi: Use Kbuild logic to include <asm-generic/types.h>

Geert Uytterhoeven
2013-11-25T08:57:51Z

Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
---
arch/sh/include/uapi/asm/Kbuild | 3 ++-
arch/sh/include/uapi/asm/types.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
delete mode 100644 arch/sh/include/uapi/asm/types.h

diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild
index 60613ae78513..03b29041b09f 100644
--- a/arch/sh/include/uapi/asm/Kbuild
+++ b/arch/sh/include/uapi/asm/Kbuild
@@ -1,6 +1,8 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

+generic-y += types.h
+
header-y += auxvec.h
header-y += byteorder.h
header-y += cachectl.h
@@ -19,7 +21,6 @@ header-y += signal.h
header-y += sockios.h
header-y += stat.h
header-y += swab.h
-header-y += types.h
header-y += unistd.h
header-y += unistd_32.h
header-y += unistd_64.h
diff --git a/arch/sh/include/uapi/asm/types.h b/arch/sh/include/uapi/asm/types.h
deleted file mode 100644
index b9e79bc580dd..000000000000
--- a/arch/sh/include/uapi/asm/types.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/types.h>
--
1.7.9.5