ARM: w90x900: move platform_data definitions

Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.

This moves such data out of the w90x900 include directories

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org>
Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
Arnd Bergmann 2012-08-24 15:18:36 +02:00
parent 19d3310106
commit 54ecf4f056
11 changed files with 9 additions and 9 deletions

View File

@ -34,11 +34,11 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/regs-serial.h> #include <mach/regs-serial.h>
#include <mach/nuc900_spi.h> #include <linux/platform_data/spi-nuc900.h>
#include <mach/map.h> #include <mach/map.h>
#include <mach/fb.h> #include <linux/platform_data/video-nuc900fb.h>
#include <mach/regs-ldm.h> #include <mach/regs-ldm.h>
#include <mach/w90p910_keypad.h> #include <linux/platform_data/keypad-w90p910.h>
#include "cpu.h" #include "cpu.h"

View File

@ -20,7 +20,7 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/map.h> #include <mach/map.h>
#include <mach/fb.h> #include <linux/platform_data/video-nuc900fb.h>
#include "nuc950.h" #include "nuc950.h"

View File

@ -29,7 +29,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <mach/mfp.h> #include <mach/mfp.h>
#include <mach/i2c.h> #include <linux/platform_data/i2c-nuc900.h>
/* nuc900 i2c registers offset */ /* nuc900 i2c registers offset */

View File

@ -21,7 +21,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/w90p910_keypad.h> #include <linux/platform_data/keypad-w90p910.h>
/* Keypad Interface Control Registers */ /* Keypad Interface Control Registers */
#define KPI_CONF 0x00 #define KPI_CONF 0x00

View File

@ -26,7 +26,7 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/spi_bitbang.h> #include <linux/spi/spi_bitbang.h>
#include <mach/nuc900_spi.h> #include <linux/platform_data/spi-nuc900.h>
/* usi registers offset */ /* usi registers offset */
#define USI_CNT 0x00 #define USI_CNT 0x00

View File

@ -38,7 +38,7 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
#include <mach/regs-ldm.h> #include <mach/regs-ldm.h>
#include <mach/fb.h> #include <linux/platform_data/video-nuc900fb.h>
#include "nuc900fb.h" #include "nuc900fb.h"

View File

@ -16,7 +16,7 @@
#define __NUC900FB_H #define __NUC900FB_H
#include <mach/map.h> #include <mach/map.h>
#include <mach/fb.h> #include <linux/platform_data/video-nuc900fb.h>
enum nuc900_lcddrv_type { enum nuc900_lcddrv_type {
LCDDRV_NUC910, LCDDRV_NUC910,