From 0680ba0133ffeac4bd3689668b05ea2d16f14ae0 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Fri, 9 Jan 2009 12:14:52 +0100 Subject: [PATCH] [S390] types: add/fix types.h include in header files /include/asm/chpid.h:12: include of is preferred over /include/asm/chsc.h:15: found __[us]{8,16,32,64} type without #include /include/asm/cmb.h:28: found __[us]{8,16,32,64} type without #include /include/asm/dasd.h:195: found __[us]{8,16,32,64} type without #include /include/asm/kvm.h:16: include of is preferred over /include/asm/kvm.h:30: found __[us]{8,16,32,64} type without #include /include/asm/qeth.h:24: found __[us]{8,16,32,64} type without #include /include/asm/schid.h:5: found __[us]{8,16,32,64} type without #include /include/asm/swab.h:12: include of is preferred over /include/asm/swab.h:19: found __[us]{8,16,32,64} type without #include Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/chpid.h | 2 +- arch/s390/include/asm/chsc.h | 1 + arch/s390/include/asm/cmb.h | 3 +++ arch/s390/include/asm/dasd.h | 1 + arch/s390/include/asm/kvm.h | 2 +- arch/s390/include/asm/qeth.h | 1 + arch/s390/include/asm/schid.h | 2 ++ arch/s390/include/asm/swab.h | 2 +- 8 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/s390/include/asm/chpid.h b/arch/s390/include/asm/chpid.h index dfe3c7f3439..fc71d8a6709 100644 --- a/arch/s390/include/asm/chpid.h +++ b/arch/s390/include/asm/chpid.h @@ -9,7 +9,7 @@ #define _ASM_S390_CHPID_H _ASM_S390_CHPID_H #include -#include +#include #define __MAX_CHPID 255 diff --git a/arch/s390/include/asm/chsc.h b/arch/s390/include/asm/chsc.h index d38d0cf62d4..807997f7414 100644 --- a/arch/s390/include/asm/chsc.h +++ b/arch/s390/include/asm/chsc.h @@ -8,6 +8,7 @@ #ifndef _ASM_CHSC_H #define _ASM_CHSC_H +#include #include #include diff --git a/arch/s390/include/asm/cmb.h b/arch/s390/include/asm/cmb.h index 50196857d27..39ae0329479 100644 --- a/arch/s390/include/asm/cmb.h +++ b/arch/s390/include/asm/cmb.h @@ -1,5 +1,8 @@ #ifndef S390_CMB_H #define S390_CMB_H + +#include + /** * struct cmbdata - channel measurement block data for user space * @size: size of the stored data diff --git a/arch/s390/include/asm/dasd.h b/arch/s390/include/asm/dasd.h index fb50a7864dd..e2db6f16d9c 100644 --- a/arch/s390/include/asm/dasd.h +++ b/arch/s390/include/asm/dasd.h @@ -14,6 +14,7 @@ #ifndef DASD_H #define DASD_H +#include #include #define DASD_IOCTL_LETTER 'D' diff --git a/arch/s390/include/asm/kvm.h b/arch/s390/include/asm/kvm.h index d74002f9579..e1f54654e3a 100644 --- a/arch/s390/include/asm/kvm.h +++ b/arch/s390/include/asm/kvm.h @@ -13,7 +13,7 @@ * Author(s): Carsten Otte * Christian Borntraeger */ -#include +#include /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ struct kvm_pic_state { diff --git a/arch/s390/include/asm/qeth.h b/arch/s390/include/asm/qeth.h index 930d378ef75..06cbd1e8c94 100644 --- a/arch/s390/include/asm/qeth.h +++ b/arch/s390/include/asm/qeth.h @@ -10,6 +10,7 @@ */ #ifndef __ASM_S390_QETH_IOCTL_H__ #define __ASM_S390_QETH_IOCTL_H__ +#include #include #define SIOC_QETH_ARP_SET_NO_ENTRIES (SIOCDEVPRIVATE) diff --git a/arch/s390/include/asm/schid.h b/arch/s390/include/asm/schid.h index 825503cf3dc..3e4d401b4e4 100644 --- a/arch/s390/include/asm/schid.h +++ b/arch/s390/include/asm/schid.h @@ -1,6 +1,8 @@ #ifndef ASM_SCHID_H #define ASM_SCHID_H +#include + struct subchannel_id { __u32 cssid : 8; __u32 : 4; diff --git a/arch/s390/include/asm/swab.h b/arch/s390/include/asm/swab.h index bd9321aa55a..eb18dc1f327 100644 --- a/arch/s390/include/asm/swab.h +++ b/arch/s390/include/asm/swab.h @@ -9,7 +9,7 @@ * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ -#include +#include #ifndef __s390x__ # define __SWAB_64_THRU_32__ -- 2.41.1