9
0
Fork 0

treewide include/: Add missing includes

This adds several missing includes to files under include/ which
we relied on being included implicitly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-05-30 12:39:55 +02:00
parent 3ece590c38
commit b381e781bf
21 changed files with 33 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include <mach/devices.h>
#include <mach/imx1-regs.h>
static inline struct device_d *imx1_add_uart0(void)
{

View File

@ -1,5 +1,6 @@
#include <mach/devices.h>
#include <mach/imx21-regs.h>
static inline struct device_d *imx21_add_uart0(void)
{

View File

@ -1,5 +1,6 @@
#include <mach/devices.h>
#include <mach/imx25-regs.h>
static inline struct device_d *imx25_add_i2c0(struct i2c_platform_data *pdata)
{

View File

@ -1,5 +1,6 @@
#include <mach/devices.h>
#include <mach/imx27-regs.h>
static inline struct device_d *imx27_add_spi0(struct spi_imx_master *pdata)
{

View File

@ -1,5 +1,6 @@
#include <mach/devices.h>
#include <mach/imx35-regs.h>
static inline struct device_d *imx35_add_i2c0(struct i2c_platform_data *pdata)
{

View File

@ -1,6 +1,7 @@
#include <mach/devices.h>
#include <sizes.h>
#include <mach/devices.h>
#include <mach/imx51-regs.h>
static inline struct device_d *imx51_add_spi0(struct spi_imx_master *pdata)
{

View File

@ -1,5 +1,6 @@
#include <mach/devices.h>
#include <mach/imx53-regs.h>
static inline struct device_d *imx53_add_spi0(struct spi_imx_master *pdata)
{

View File

@ -1,4 +1,5 @@
#include <mach/devices.h>
#include <mach/imx6-regs.h>
static inline struct device_d *imx6_add_uart0(void)
{

View File

@ -1,6 +1,9 @@
#ifndef __MACH_GENERIC_H
#define __MACH_GENERIC_H
#include <linux/compiler.h>
#include <linux/types.h>
u64 imx_uid(void);
void imx25_boot_save_loc(void __iomem *ccm_base);

View File

@ -1,6 +1,8 @@
#ifndef __MACH_IOMUX_V1_H__
#define __MACH_IOMUX_V1_H__
#include <linux/compiler.h>
#define GPIO_PIN_MASK 0x1f
#define GPIO_PORT_SHIFT 5

View File

@ -1,6 +1,8 @@
#ifndef __MACH_WEIM_H
#define __MACH_WEIM_H
#include <linux/types.h>
void imx27_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
unsigned additional);

View File

@ -20,6 +20,8 @@
#ifndef _ENVIRONMENT_H_
#define _ENVIRONMENT_H_
#include <linux/list.h>
/**
* Managment of a environment variable
*/

View File

@ -3,6 +3,7 @@
#include <ioctl.h>
#include <param.h>
#include <driver.h>
#define FB_VISUAL_TRUECOLOR 2 /* True color */
#define FB_VISUAL_PSEUDOCOLOR 3 /* Pseudo color (like atari) */

View File

@ -1,6 +1,8 @@
#ifndef __FILE_TYPE_H
#define __FILE_TYPE_H
#include <linux/string.h>
/*
* List of file types we know
*/

View File

@ -16,6 +16,9 @@
#ifndef I2C_I2C_H
#define I2C_I2C_H
#include <driver.h>
#include <linux/types.h>
#ifndef DOXYGEN_SHOULD_SKIP_THIS
/*

View File

@ -15,6 +15,7 @@
#ifndef __PHY_H
#define __PHY_H
#include <driver.h>
#include <linux/list.h>
#include <linux/ethtool.h>
#include <linux/mii.h>

View File

@ -12,6 +12,8 @@
#ifndef __MFD_MC13XXX_H
#define __MFD_MC13XXX_H
#include <linux/types.h>
#define MC13XXX_REG_IDENTIFICATION 0x07
#define MC13783_REG_INT_STATUS0 0x00

View File

@ -19,7 +19,9 @@
#include <stdlib.h>
#include <clock.h>
#include <led.h>
#include <xfuncs.h>
#include <linux/phy.h>
#include <linux/string.h> /* memcpy */
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
/* How often do we retry to send packages */

View File

@ -1,6 +1,8 @@
#ifndef __NOTIFIER_H
#define __NOTIFIER_H
#include <linux/list.h>
/*
* Notifer chains loosely based on the according Linux framework
*/

View File

@ -1,7 +1,7 @@
#ifndef __PARTITION_H
#define __PARTITION_H
struct device_d;
#include <driver.h>
struct partition {
int num;
@ -18,4 +18,3 @@ struct partition {
};
#endif /* __PARTITION_H */

View File

@ -4,6 +4,7 @@
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#include <driver.h>
#include <linux/string.h>
struct spi_board_info {
char *name;