Commit 46c41e62a1feb4ab2e941f33f06bbf8feab2d2cf
Committed by
Russell King
1 parent
34f3231f43
Exists in
master
and in
39 other branches
[ARM] pxa: move platform devices to separate header file
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Showing 14 changed files with 23 additions and 12 deletions Side-by-side Diff
- arch/arm/mach-pxa/corgi.c
- arch/arm/mach-pxa/devices.h
- arch/arm/mach-pxa/generic.c
- arch/arm/mach-pxa/generic.h
- arch/arm/mach-pxa/idp.c
- arch/arm/mach-pxa/lpd270.c
- arch/arm/mach-pxa/lubbock.c
- arch/arm/mach-pxa/mainstone.c
- arch/arm/mach-pxa/poodle.c
- arch/arm/mach-pxa/pxa25x.c
- arch/arm/mach-pxa/pxa27x.c
- arch/arm/mach-pxa/spitz.c
- arch/arm/mach-pxa/tosa.c
- arch/arm/mach-pxa/trizeps4.c
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/devices.h
1 | +extern struct platform_device pxamci_device; | |
2 | +extern struct platform_device pxaudc_device; | |
3 | +extern struct platform_device pxafb_device; | |
4 | +extern struct platform_device ffuart_device; | |
5 | +extern struct platform_device btuart_device; | |
6 | +extern struct platform_device stuart_device; | |
7 | +extern struct platform_device hwuart_device; | |
8 | +extern struct platform_device pxai2c_device; | |
9 | +extern struct platform_device pxai2s_device; | |
10 | +extern struct platform_device pxaficp_device; | |
11 | +extern struct platform_device pxartc_device; |
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/generic.h
... | ... | @@ -25,16 +25,4 @@ |
25 | 25 | mi->bank[__nr].start = (__start), \ |
26 | 26 | mi->bank[__nr].size = (__size), \ |
27 | 27 | mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27) |
28 | - | |
29 | -extern struct platform_device pxamci_device; | |
30 | -extern struct platform_device pxaudc_device; | |
31 | -extern struct platform_device pxafb_device; | |
32 | -extern struct platform_device ffuart_device; | |
33 | -extern struct platform_device btuart_device; | |
34 | -extern struct platform_device stuart_device; | |
35 | -extern struct platform_device hwuart_device; | |
36 | -extern struct platform_device pxai2c_device; | |
37 | -extern struct platform_device pxai2s_device; | |
38 | -extern struct platform_device pxaficp_device; | |
39 | -extern struct platform_device pxartc_device; |
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/tosa.c
arch/arm/mach-pxa/trizeps4.c