mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Replace <compiler.h> with <linux/compiler.h>
Including <linux/compiler.h> is enough for general use. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
e873b97a01
commit
afc366f01b
13 changed files with 14 additions and 14 deletions
|
@ -8,7 +8,7 @@
|
|||
#ifndef _ASM_MIPS_UNALIGNED_H
|
||||
#define _ASM_MIPS_UNALIGNED_H
|
||||
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#if defined(__MIPSEB__)
|
||||
#define get_unaligned __get_unaligned_be
|
||||
#define put_unaligned __put_unaligned_be
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <asm/unaligned-sh4a.h>
|
||||
#else
|
||||
/* Otherwise, SH can't handle unaligned accesses. */
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#if defined(__BIG_ENDIAN__)
|
||||
#define get_unaligned __get_unaligned_be
|
||||
#define put_unaligned __put_unaligned_be
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <compiler.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/arch/ipchecksum.h>
|
||||
|
||||
unsigned short ipchksum(const void *vptr, unsigned long nbytes)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define _COREBOOT_SYSINFO_H
|
||||
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <libfdt.h>
|
||||
#include <asm/arch/tables.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef _COREBOOT_TABLES_H
|
||||
#define _COREBOOT_TABLES_H
|
||||
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
struct cbuint64 {
|
||||
u32 lo;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _ASM_IO_H
|
||||
#define _ASM_IO_H
|
||||
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
/*
|
||||
* This file contains the definitions for the x86 IO instructions
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
/* From glibc-2.14, sysdeps/i386/memset.c */
|
||||
|
||||
#include <compiler.h>
|
||||
#include <asm/string.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/string.h>
|
||||
|
||||
typedef uint32_t op_t;
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <linux/ctype.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <compiler.h>
|
||||
#include <errno.h>
|
||||
#include <usb.h>
|
||||
#ifdef CONFIG_4xx
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <power/pmic.h>
|
||||
#include <i2c.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
int pmic_reg_write(struct pmic *p, u32 reg, u32 val)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#define _MVRTC_H_
|
||||
|
||||
#include <asm/arch/soc.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
/* RTC registers */
|
||||
struct mvrtc_registers {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <fdtdec.h>
|
||||
#include <i2c.h>
|
||||
#include <tpm.h>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <fdtdec.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <i2c.h>
|
||||
#include <tpm.h>
|
||||
#include <asm-generic/errno.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#define __GLUE_ZLIB_H__
|
||||
|
||||
#include <common.h>
|
||||
#include <compiler.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <watchdog.h>
|
||||
#include "u-boot/zlib.h"
|
||||
|
|
Loading…
Reference in a new issue