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

Commit 985ecf00 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

i2c: ocores: move header to platform_data



This header only contains platform_data. Move it to the proper directory.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
parent 62ea22c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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>