Commit 0680ba01 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

[S390] types: add/fix types.h include in header files

/include/asm/chpid.h:12: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/chsc.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/cmb.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/dasd.h:195: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/kvm.h:16: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/kvm.h:30: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/qeth.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/schid.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h>
/include/asm/swab.h:12: include of <linux/types.h> is preferred over <asm/types.h>
/include/asm/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 13de227b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#define _ASM_S390_CHPID_H _ASM_S390_CHPID_H #define _ASM_S390_CHPID_H _ASM_S390_CHPID_H
#include <linux/string.h> #include <linux/string.h>
#include <asm/types.h> #include <linux/types.h>
#define __MAX_CHPID 255 #define __MAX_CHPID 255
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#ifndef _ASM_CHSC_H #ifndef _ASM_CHSC_H
#define _ASM_CHSC_H #define _ASM_CHSC_H
#include <linux/types.h>
#include <asm/chpid.h> #include <asm/chpid.h>
#include <asm/schid.h> #include <asm/schid.h>
......
#ifndef S390_CMB_H #ifndef S390_CMB_H
#define S390_CMB_H #define S390_CMB_H
#include <linux/types.h>
/** /**
* struct cmbdata - channel measurement block data for user space * struct cmbdata - channel measurement block data for user space
* @size: size of the stored data * @size: size of the stored data
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#ifndef DASD_H #ifndef DASD_H
#define DASD_H #define DASD_H
#include <linux/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#define DASD_IOCTL_LETTER 'D' #define DASD_IOCTL_LETTER 'D'
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* Author(s): Carsten Otte <cotte@de.ibm.com> * Author(s): Carsten Otte <cotte@de.ibm.com>
* Christian Borntraeger <borntraeger@de.ibm.com> * Christian Borntraeger <borntraeger@de.ibm.com>
*/ */
#include <asm/types.h> #include <linux/types.h>
/* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */ /* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */
struct kvm_pic_state { struct kvm_pic_state {
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
*/ */
#ifndef __ASM_S390_QETH_IOCTL_H__ #ifndef __ASM_S390_QETH_IOCTL_H__
#define __ASM_S390_QETH_IOCTL_H__ #define __ASM_S390_QETH_IOCTL_H__
#include <linux/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#define SIOC_QETH_ARP_SET_NO_ENTRIES (SIOCDEVPRIVATE) #define SIOC_QETH_ARP_SET_NO_ENTRIES (SIOCDEVPRIVATE)
......
#ifndef ASM_SCHID_H #ifndef ASM_SCHID_H
#define ASM_SCHID_H #define ASM_SCHID_H
#include <linux/types.h>
struct subchannel_id { struct subchannel_id {
__u32 cssid : 8; __u32 cssid : 8;
__u32 : 4; __u32 : 4;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
*/ */
#include <asm/types.h> #include <linux/types.h>
#ifndef __s390x__ #ifndef __s390x__
# define __SWAB_64_THRU_32__ # define __SWAB_64_THRU_32__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment