Skip to content

Commit

Permalink
ARM: msm: move platform_data definitions
Browse files Browse the repository at this point in the history
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: 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>
Acked-by: David 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
  • Loading branch information
Arnd Bergmann committed Sep 14, 2012
1 parent 82906b1 commit 1ef21f6
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/board-qsd8x50.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <mach/irqs.h>
#include <mach/sirc.h>
#include <mach/vreg.h>
#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>

#include "devices.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/board-trout-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <mach/vreg.h>

#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>

#include "devices.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/board-trout-panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <asm/mach-types.h>
#include <asm/system_info.h>

#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>
#include <mach/vreg.h>

#include "board-trout.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/devices-msm7x00.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include "clock.h"
#include "clock-pcom.h"
#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>

static struct resource resources_uart1[] = {
{
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/devices-msm7x30.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "clock-pcom.h"
#include "clock-7x30.h"

#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>

static struct resource resources_uart2[] = {
{
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/devices-qsd8x50.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <asm/mach/flash.h>

#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>
#include "clock-pcom.h"

static struct resource resources_uart3[] = {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/include/mach/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define __ASM_ARCH_MSM_BOARD_H

#include <linux/types.h>
#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>

/* platform device data structures */

Expand Down
2 changes: 1 addition & 1 deletion drivers/mmc/host/msm_sdcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <asm/div64.h>
#include <asm/sizes.h>

#include <mach/mmc.h>
#include <linux/platform_data/mmc-msm_sdcc.h>
#include <mach/msm_iomap.h>
#include <mach/dma.h>
#include <mach/clk.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mddi.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <mach/msm_iomap.h>
#include <mach/irqs.h>
#include <mach/board.h>
#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>
#include "mddi_hw.h"

#define FLAG_DISABLE_HIBERNATION 0x0001
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mddi_client_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <linux/kernel.h>
#include <linux/platform_device.h>

#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>

struct panel_info {
struct platform_device pdev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mddi_client_nt35399.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/sched.h>
#include <linux/gpio.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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mddi_client_toshiba.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/gpio.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>


#define LCD_CONTROL_BLOCK_BASE 0x110000
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/slab.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/export.h>

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mdp_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define _MDP_HW_H_

#include <mach/msm_iomap.h>
#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>

struct mdp_info {
struct mdp_device mdp_dev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/mdp_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <linux/file.h>
#include <linux/delay.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_scale_tables.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/msm/msm_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <linux/msm_mdp.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <mach/msm_fb.h>
#include <linux/platform_data/video-msm_fb.h>
#include <mach/board.h>
#include <linux/workqueue.h>
#include <linux/clk.h>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1ef21f6

Please sign in to comment.