[PATCH 02/24] avr32/uapi: Use Kbuild logic to provide

Geert Uytterhoeven
2013-11-25T09:06:49Z

Uapi <asm-generic/types.h> just includes <asm-generic/int-ll64.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
---
arch/avr32/include/uapi/asm/Kbuild | 2 +-
arch/avr32/include/uapi/asm/types.h | 13 -------------
2 files changed, 1 insertion(+), 14 deletions(-)
delete mode 100644 arch/avr32/include/uapi/asm/types.h

diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild
index 08d8a3d76ea8..1598223f0bfc 100644
--- a/arch/avr32/include/uapi/asm/Kbuild
+++ b/arch/avr32/include/uapi/asm/Kbuild
@@ -19,7 +19,6 @@ header-y += stat.h
header-y += swab.h
header-y += termbits.h
header-y += termios.h
-header-y += types.h
header-y += unistd.h
generic-y += bitsperlong.h
generic-y += errno.h
@@ -34,3 +33,4 @@ generic-y += poll.h
generic-y += resource.h
generic-y += siginfo.h
generic-y += statfs.h
+generic-y += types.h
diff --git a/arch/avr32/include/uapi/asm/types.h b/arch/avr32/include/uapi/asm/types.h
deleted file mode 100644
index 7c986c4e99b5..000000000000
--- a/arch/avr32/include/uapi/asm/types.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (C) 2004-2006 Atmel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-#ifndef _UAPI__ASM_AVR32_TYPES_H
-#define _UAPI__ASM_AVR32_TYPES_H
-
-#include <asm-generic/int-ll64.h>
-
-#endif /* _UAPI__ASM_AVR32_TYPES_H */
--
1.7.9.5