linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] Move some ARM header files to more appropriate locations
@ 2012-09-21  9:35 Russell King - ARM Linux
  2012-09-21  9:36 ` [RFC 1/3] ARM: move serial_sa1100.h header file to linux/platform_data Russell King
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Russell King - ARM Linux @ 2012-09-21  9:35 UTC (permalink / raw)
  To: linux-arm-kernel, linux-serial, linux-usb
  Cc: Alan Cox, Eric Miao, Felipe Balbi, Greg Kroah-Hartman,
	Haojian Zhuang, Imre Kaloz, Kristoffer Ericson, Krzysztof Halasa,
	Nicolas Ferre

This series moves some of the misplaced ARM header files, which
contain driver platform data, out of arch/arm/include/asm/mach
and into include/linux/platform_data.

arch/arm/include/asm/mach is supposed to be for include files
exporting generic ARM code structures and functions to ARM platforms,
not for platforms to export platform data definitions to the rest
of the kernel.

This patch series addresses three of the files: the SA11x0 serial
driver platform data, the PXA2xx UDC driver, and the Atmel serial
driver.  Out of those three, I ended up deleting the Atmel serial
driver header as I could not find any user of the exported function
and its data structure anywhere in the kernel.

 arch/arm/include/asm/mach/serial_at91.h            |   33 --------------------
 arch/arm/mach-ixp4xx/include/mach/udc.h            |    2 +-
 arch/arm/mach-pxa/include/mach/udc.h               |    2 +-
 arch/arm/mach-sa1100/assabet.c                     |    2 +-
 arch/arm/mach-sa1100/badge4.c                      |    2 +-
 arch/arm/mach-sa1100/cerf.c                        |    2 +-
 arch/arm/mach-sa1100/collie.c                      |    2 +-
 arch/arm/mach-sa1100/h3xxx.c                       |    2 +-
 arch/arm/mach-sa1100/hackkit.c                     |    2 +-
 arch/arm/mach-sa1100/jornada720.c                  |    2 +-
 arch/arm/mach-sa1100/lart.c                        |    2 +-
 arch/arm/mach-sa1100/nanoengine.c                  |    2 +-
 arch/arm/mach-sa1100/neponset.c                    |    2 +-
 arch/arm/mach-sa1100/pleb.c                        |    2 +-
 arch/arm/mach-sa1100/shannon.c                     |    2 +-
 arch/arm/mach-sa1100/simpad.c                      |    2 +-
 arch/avr32/include/asm/mach/serial_at91.h          |   33 --------------------
 drivers/tty/serial/atmel_serial.c                  |   18 -----------
 drivers/tty/serial/sa1100.c                        |    2 +-
 drivers/usb/gadget/pxa25x_udc.c                    |    4 +--
 .../linux/platform_data/pxa2xx_udc.h               |    5 ++-
 .../linux/platform_data/sa11x0-serial.h            |    6 ++-
 22 files changed, 24 insertions(+), 107 deletions(-)
 delete mode 100644 arch/arm/include/asm/mach/serial_at91.h
 delete mode 100644 arch/avr32/include/asm/mach/serial_at91.h
 rename arch/arm/include/asm/mach/udc_pxa2xx.h => include/linux/platform_data/pxa2xx_udc.h (94%)
 rename arch/arm/include/asm/mach/serial_sa1100.h => include/linux/platform_data/sa11x0-serial.h (93%)

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-11-16 23:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21  9:35 [RFC 0/3] Move some ARM header files to more appropriate locations Russell King - ARM Linux
2012-09-21  9:36 ` [RFC 1/3] ARM: move serial_sa1100.h header file to linux/platform_data Russell King
2012-09-21 23:05   ` Greg Kroah-Hartman
2012-09-21  9:36 ` [RFC 2/3] ARM: move udc_pxa2xx.h " Russell King
     [not found]   ` <E1TEzet-00077v-VD-eh5Bv4kxaXIANfyc6IWni62ZND6+EDdj@public.gmane.org>
2012-09-21  9:39     ` Felipe Balbi
2012-09-21  9:40     ` Eric Miao
2012-09-21  9:48       ` Russell King - ARM Linux
2012-09-22 11:41         ` Krzysztof Halasa
2012-09-21 23:05   ` Greg Kroah-Hartman
2012-09-21  9:36 ` [RFC 3/3] ARM/AVR32: get rid of serial_at91.h Russell King
     [not found]   ` <E1TEzfE-000780-1t-eh5Bv4kxaXIANfyc6IWni62ZND6+EDdj@public.gmane.org>
2012-09-21 23:05     ` Greg Kroah-Hartman
2012-11-16  9:53   ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]     ` <20121116095352.GF4398-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2012-11-16 10:12       ` Nicolas Ferre
     [not found]         ` <50A6119E.8010303-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2012-11-16 11:38           ` Russell King - ARM Linux
2012-11-16 20:46         ` Andrew Victor
2012-11-16 22:08   ` Joachim Eastwood
2012-11-16 23:08     ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).