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:
parent
3ece590c38
commit
b381e781bf
|
@ -1,4 +1,5 @@
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx1-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx1_add_uart0(void)
|
static inline struct device_d *imx1_add_uart0(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx21-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx21_add_uart0(void)
|
static inline struct device_d *imx21_add_uart0(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx25-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx25_add_i2c0(struct i2c_platform_data *pdata)
|
static inline struct device_d *imx25_add_i2c0(struct i2c_platform_data *pdata)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx27-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx27_add_spi0(struct spi_imx_master *pdata)
|
static inline struct device_d *imx27_add_spi0(struct spi_imx_master *pdata)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx35-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx35_add_i2c0(struct i2c_platform_data *pdata)
|
static inline struct device_d *imx35_add_i2c0(struct i2c_platform_data *pdata)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
|
||||||
#include <sizes.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)
|
static inline struct device_d *imx51_add_spi0(struct spi_imx_master *pdata)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx53-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx53_add_spi0(struct spi_imx_master *pdata)
|
static inline struct device_d *imx53_add_spi0(struct spi_imx_master *pdata)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <mach/devices.h>
|
#include <mach/devices.h>
|
||||||
|
#include <mach/imx6-regs.h>
|
||||||
|
|
||||||
static inline struct device_d *imx6_add_uart0(void)
|
static inline struct device_d *imx6_add_uart0(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#ifndef __MACH_GENERIC_H
|
#ifndef __MACH_GENERIC_H
|
||||||
#define __MACH_GENERIC_H
|
#define __MACH_GENERIC_H
|
||||||
|
|
||||||
|
#include <linux/compiler.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
u64 imx_uid(void);
|
u64 imx_uid(void);
|
||||||
|
|
||||||
void imx25_boot_save_loc(void __iomem *ccm_base);
|
void imx25_boot_save_loc(void __iomem *ccm_base);
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __MACH_IOMUX_V1_H__
|
#ifndef __MACH_IOMUX_V1_H__
|
||||||
#define __MACH_IOMUX_V1_H__
|
#define __MACH_IOMUX_V1_H__
|
||||||
|
|
||||||
|
#include <linux/compiler.h>
|
||||||
|
|
||||||
#define GPIO_PIN_MASK 0x1f
|
#define GPIO_PIN_MASK 0x1f
|
||||||
|
|
||||||
#define GPIO_PORT_SHIFT 5
|
#define GPIO_PORT_SHIFT 5
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __MACH_WEIM_H
|
#ifndef __MACH_WEIM_H
|
||||||
#define __MACH_WEIM_H
|
#define __MACH_WEIM_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
void imx27_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
|
void imx27_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
|
||||||
unsigned additional);
|
unsigned additional);
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
#ifndef _ENVIRONMENT_H_
|
#ifndef _ENVIRONMENT_H_
|
||||||
#define _ENVIRONMENT_H_
|
#define _ENVIRONMENT_H_
|
||||||
|
|
||||||
|
#include <linux/list.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Managment of a environment variable
|
* Managment of a environment variable
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include <ioctl.h>
|
#include <ioctl.h>
|
||||||
#include <param.h>
|
#include <param.h>
|
||||||
|
#include <driver.h>
|
||||||
|
|
||||||
#define FB_VISUAL_TRUECOLOR 2 /* True color */
|
#define FB_VISUAL_TRUECOLOR 2 /* True color */
|
||||||
#define FB_VISUAL_PSEUDOCOLOR 3 /* Pseudo color (like atari) */
|
#define FB_VISUAL_PSEUDOCOLOR 3 /* Pseudo color (like atari) */
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __FILE_TYPE_H
|
#ifndef __FILE_TYPE_H
|
||||||
#define __FILE_TYPE_H
|
#define __FILE_TYPE_H
|
||||||
|
|
||||||
|
#include <linux/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* List of file types we know
|
* List of file types we know
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
#ifndef I2C_I2C_H
|
#ifndef I2C_I2C_H
|
||||||
#define I2C_I2C_H
|
#define I2C_I2C_H
|
||||||
|
|
||||||
|
#include <driver.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#ifndef __PHY_H
|
#ifndef __PHY_H
|
||||||
#define __PHY_H
|
#define __PHY_H
|
||||||
|
|
||||||
|
#include <driver.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/ethtool.h>
|
#include <linux/ethtool.h>
|
||||||
#include <linux/mii.h>
|
#include <linux/mii.h>
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef __MFD_MC13XXX_H
|
#ifndef __MFD_MC13XXX_H
|
||||||
#define __MFD_MC13XXX_H
|
#define __MFD_MC13XXX_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define MC13XXX_REG_IDENTIFICATION 0x07
|
#define MC13XXX_REG_IDENTIFICATION 0x07
|
||||||
|
|
||||||
#define MC13783_REG_INT_STATUS0 0x00
|
#define MC13783_REG_INT_STATUS0 0x00
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <clock.h>
|
#include <clock.h>
|
||||||
#include <led.h>
|
#include <led.h>
|
||||||
|
#include <xfuncs.h>
|
||||||
#include <linux/phy.h>
|
#include <linux/phy.h>
|
||||||
|
#include <linux/string.h> /* memcpy */
|
||||||
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
|
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
|
||||||
|
|
||||||
/* How often do we retry to send packages */
|
/* How often do we retry to send packages */
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __NOTIFIER_H
|
#ifndef __NOTIFIER_H
|
||||||
#define __NOTIFIER_H
|
#define __NOTIFIER_H
|
||||||
|
|
||||||
|
#include <linux/list.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notifer chains loosely based on the according Linux framework
|
* Notifer chains loosely based on the according Linux framework
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef __PARTITION_H
|
#ifndef __PARTITION_H
|
||||||
#define __PARTITION_H
|
#define __PARTITION_H
|
||||||
|
|
||||||
struct device_d;
|
#include <driver.h>
|
||||||
|
|
||||||
struct partition {
|
struct partition {
|
||||||
int num;
|
int num;
|
||||||
|
@ -18,4 +18,3 @@ struct partition {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __PARTITION_H */
|
#endif /* __PARTITION_H */
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||||
|
|
||||||
#include <driver.h>
|
#include <driver.h>
|
||||||
|
#include <linux/string.h>
|
||||||
|
|
||||||
struct spi_board_info {
|
struct spi_board_info {
|
||||||
char *name;
|
char *name;
|
||||||
|
|
Loading…
Reference in New Issue