Commit 1ef21f63 authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: msm: 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 msm include directories
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Acked-by: default avatarDavid Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Chris Ball <cjb@laptop.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: linux-arm-msm@vger.kernel.org
parent 82906b13
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/sirc.h> #include <mach/sirc.h>
#include <mach/vreg.h> #include <mach/vreg.h>
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
#include "devices.h" #include "devices.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <mach/vreg.h> #include <mach/vreg.h>
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
#include "devices.h" #include "devices.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/system_info.h> #include <asm/system_info.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#include <mach/vreg.h> #include <mach/vreg.h>
#include "board-trout.h" #include "board-trout.h"
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "clock.h" #include "clock.h"
#include "clock-pcom.h" #include "clock-pcom.h"
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
static struct resource resources_uart1[] = { static struct resource resources_uart1[] = {
{ {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "clock-pcom.h" #include "clock-pcom.h"
#include "clock-7x30.h" #include "clock-7x30.h"
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
static struct resource resources_uart2[] = { static struct resource resources_uart2[] = {
{ {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <asm/mach/flash.h> #include <asm/mach/flash.h>
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
#include "clock-pcom.h" #include "clock-pcom.h"
static struct resource resources_uart3[] = { static struct resource resources_uart3[] = {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#define __ASM_ARCH_MSM_BOARD_H #define __ASM_ARCH_MSM_BOARD_H
#include <linux/types.h> #include <linux/types.h>
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
/* platform device data structures */ /* platform device data structures */
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <asm/div64.h> #include <asm/div64.h>
#include <asm/sizes.h> #include <asm/sizes.h>
#include <mach/mmc.h> #include <linux/platform_data/mmc-msm_sdcc.h>
#include <mach/msm_iomap.h> #include <mach/msm_iomap.h>
#include <mach/dma.h> #include <mach/dma.h>
#include <mach/clk.h> #include <mach/clk.h>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <mach/msm_iomap.h> #include <mach/msm_iomap.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/board.h> #include <mach/board.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#include "mddi_hw.h" #include "mddi_hw.h"
#define FLAG_DISABLE_HIBERNATION 0x0001 #define FLAG_DISABLE_HIBERNATION 0x0001
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
struct panel_info { struct panel_info {
struct platform_device pdev; struct platform_device pdev;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
static DECLARE_WAIT_QUEUE_HEAD(nt35399_vsync_wait); static DECLARE_WAIT_QUEUE_HEAD(nt35399_vsync_wait);
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#define LCD_CONTROL_BLOCK_BASE 0x110000 #define LCD_CONTROL_BLOCK_BASE 0x110000
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/msm_iomap.h> #include <mach/msm_iomap.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/export.h> #include <linux/export.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#define _MDP_HW_H_ #define _MDP_HW_H_
#include <mach/msm_iomap.h> #include <mach/msm_iomap.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
struct mdp_info { struct mdp_info {
struct mdp_device mdp_dev; struct mdp_device mdp_dev;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/file.h> #include <linux/file.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/msm_mdp.h> #include <linux/msm_mdp.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#include "mdp_hw.h" #include "mdp_hw.h"
#include "mdp_scale_tables.h" #include "mdp_scale_tables.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/msm_mdp.h> #include <linux/msm_mdp.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <mach/msm_fb.h> #include <linux/platform_data/video-msm_fb.h>
#include <mach/board.h> #include <mach/board.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/clk.h> #include <linux/clk.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment