Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00bfddaf authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Linus Torvalds
Browse files

include of <linux/types.h> is preferred over <asm/types.h>



Impact: fix 15 make headers_check warnings:

include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 068b38c1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@

#ifndef __KERNEL__
#include <linux/types.h>
#include <asm/types.h>

struct agp_version {
	__u16 major;
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
#ifndef LINUX_ATM_IDT77105_H
#define LINUX_ATM_IDT77105_H

#include <asm/types.h>
#include <linux/types.h>
#include <linux/atmioc.h>
#include <linux/atmdev.h>

+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#ifndef __LINUX_CAPI_H__
#define __LINUX_CAPI_H__

#include <asm/types.h>
#include <linux/types.h>
#include <linux/ioctl.h>
#ifndef __KERNEL__
#include <linux/kernelcapi.h>
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#ifndef __CONNECTOR_H
#define __CONNECTOR_H

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

#define CN_IDX_CONNECTOR		0xffffffff
#define CN_VAL_CONNECTOR		0xffffffff
+0 −2
Original line number Diff line number Diff line
@@ -150,8 +150,6 @@ struct CYZ_BOOT_CTRL {
 *	architectures and compilers.
 */

#include <asm/types.h>

typedef __u64  ucdouble;		/* 64 bits, unsigned */
typedef __u32  uclong;			/* 32 bits, unsigned */
typedef __u16  ucshort;		/* 16 bits, unsigned */
Loading