提交 985ecf00 编写于 作者: W Wolfram Sang

i2c: ocores: move header to platform_data

This header only contains platform_data. Move it to the proper directory.
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Acked-by: NLee Jones <lee.jones@linaro.org>
上级 62ea22c4
......@@ -18,7 +18,7 @@ Usage
i2c-ocores uses the platform bus, so you need to provide a struct
platform_device with the base address and interrupt number. The
dev.platform_data of the device should also point to a struct
ocores_i2c_platform_data (see linux/i2c-ocores.h) describing the
ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the
distance between registers and the input clock speed.
There is also a possibility to attach a list of i2c_board_info which
the i2c-ocores driver will add to the bus upon creation.
......
......@@ -21,7 +21,7 @@
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/i2c-ocores.h>
#include <linux/platform_data/i2c-ocores.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/log2.h>
......
......@@ -30,7 +30,7 @@
#include <linux/timb_gpio.h>
#include <linux/i2c.h>
#include <linux/i2c-ocores.h>
#include <linux/platform_data/i2c-ocores.h>
#include <linux/i2c-xiic.h>
#include <linux/spi/spi.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册