Thread (75 messages) 75 messages, 33 authors, 2012-09-19

[PATCH 03/16] ARM: ep93xx: move platform_data definitions

flat view

From: H Hartley Sweeten <hidden>
Date: 2012-09-11 16:27:11
Also in: lkml

On Tuesday, September 11, 2012 6:00 AM, Arnd Bergmann wrote:
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 ep93xx include directories

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <redacted>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <redacted>
Cc: Jeff Garzik <redacted> (supporter:SERIAL ATA
Cc: Vinod Koul <redacted>
Cc: Dan Williams <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> (maintainer:INPUT
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Liam Girdwood <redacted>
Cc: Mark Brown <redacted>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <redacted>
Cc: Mika Westerberg <redacted>
Cc: Axel Lin <redacted>
---
 Documentation/spi/ep93xx_spi                                     |    2 +-
 arch/arm/mach-ep93xx/core.c                                      |    6 +++---
 arch/arm/mach-ep93xx/dma.c                                       |    2 +-
 arch/arm/mach-ep93xx/edb93xx.c                                   |    4 ++--
 arch/arm/mach-ep93xx/simone.c                                    |    2 +-
 arch/arm/mach-ep93xx/snappercl15.c                               |    2 +-
 arch/arm/mach-ep93xx/vision_ep9307.c                             |    4 ++--
 drivers/ata/pata_ep93xx.c                                        |    2 +-
 drivers/dma/ep93xx_dma.c                                         |    2 +-
 drivers/input/keyboard/ep93xx_keypad.c                           |    2 +-
 drivers/spi/spi-ep93xx.c                                         |    4 ++--
 drivers/video/ep93xx-fb.c                                        |    2 +-
 .../mach/dma.h => include/linux/platform_data/dma-ep93xx.h       |    0
 .../linux/platform_data/keypad-ep93xx.h                          |    0
 .../ep93xx_spi.h => include/linux/platform_data/spi-ep93xx.h     |    0
 .../mach/fb.h => include/linux/platform_data/video-ep93xx.h      |    0
 sound/soc/ep93xx/ep93xx-ac97.c                                   |    2 +-
 sound/soc/ep93xx/ep93xx-i2s.c                                    |    2 +-
 sound/soc/ep93xx/ep93xx-pcm.c                                    |    2 +-
 19 files changed, 20 insertions(+), 20 deletions(-)
 rename arch/arm/mach-ep93xx/include/mach/dma.h => include/linux/platform_data/dma-ep93xx.h (100%)
 rename arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h => include/linux/platform_data/keypad-ep93xx.h (100%)
 rename arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h => include/linux/platform_data/spi-ep93xx.h (100%)
 rename arch/arm/mach-ep93xx/include/mach/fb.h => include/linux/platform_data/video-ep93xx.h (100%)
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>

Arnd,

What about gpio-ep93xx.h? It does not have any platform_data in
it but the gpio driver (driver/gpio/gpio-ep93xx.c) does include it
from the mach-* directory.

Regards,
Hartley
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help