mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Daniel Mack](/assets/img/avatar_default.png)
Currently, devices for SSP ports 1, 2 and 3 are registered as compatible devices to pxa27x-ssp. While the actual IP core is comparable, there are some subtle differences which users of the SSP ports address by looking at the 'type' field. By registering devices of type 'pxa27x-ssp', this 'type' field is incorrectly set to PXA27x_SSP which confuses the users. To fix this, provide specific ssp port plaform devices which use 'pxa3xx-ssp' as driver name, an instantiate them from pxa3xx.c. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
56 lines
2.4 KiB
C
56 lines
2.4 KiB
C
extern struct platform_device pxa_device_pmu;
|
|
extern struct platform_device pxa_device_mci;
|
|
extern struct platform_device pxa3xx_device_mci2;
|
|
extern struct platform_device pxa3xx_device_mci3;
|
|
extern struct platform_device pxa25x_device_udc;
|
|
extern struct platform_device pxa27x_device_udc;
|
|
extern struct platform_device pxa3xx_device_u2d;
|
|
extern struct platform_device pxa_device_fb;
|
|
extern struct platform_device pxa_device_ffuart;
|
|
extern struct platform_device pxa_device_btuart;
|
|
extern struct platform_device pxa_device_stuart;
|
|
extern struct platform_device pxa_device_hwuart;
|
|
extern struct platform_device pxa_device_i2c;
|
|
extern struct platform_device pxa_device_i2s;
|
|
extern struct platform_device pxa_device_ficp;
|
|
extern struct platform_device sa1100_device_rtc;
|
|
extern struct platform_device pxa_device_rtc;
|
|
extern struct platform_device pxa_device_ac97;
|
|
|
|
extern struct platform_device pxa27x_device_i2c_power;
|
|
extern struct platform_device pxa27x_device_ohci;
|
|
extern struct platform_device pxa27x_device_keypad;
|
|
|
|
extern struct platform_device pxa25x_device_ssp;
|
|
extern struct platform_device pxa25x_device_nssp;
|
|
extern struct platform_device pxa25x_device_assp;
|
|
extern struct platform_device pxa27x_device_ssp1;
|
|
extern struct platform_device pxa27x_device_ssp2;
|
|
extern struct platform_device pxa27x_device_ssp3;
|
|
extern struct platform_device pxa3xx_device_ssp1;
|
|
extern struct platform_device pxa3xx_device_ssp2;
|
|
extern struct platform_device pxa3xx_device_ssp3;
|
|
extern struct platform_device pxa3xx_device_ssp4;
|
|
|
|
extern struct platform_device pxa25x_device_pwm0;
|
|
extern struct platform_device pxa25x_device_pwm1;
|
|
extern struct platform_device pxa27x_device_pwm0;
|
|
extern struct platform_device pxa27x_device_pwm1;
|
|
|
|
extern struct platform_device pxa3xx_device_nand;
|
|
extern struct platform_device pxa3xx_device_i2c_power;
|
|
|
|
extern struct platform_device pxa3xx_device_gcu;
|
|
|
|
extern struct platform_device pxa_device_asoc_platform;
|
|
extern struct platform_device pxa_device_asoc_ssp1;
|
|
extern struct platform_device pxa_device_asoc_ssp2;
|
|
extern struct platform_device pxa_device_asoc_ssp3;
|
|
extern struct platform_device pxa_device_asoc_ssp4;
|
|
|
|
extern struct platform_device pxa25x_device_gpio;
|
|
extern struct platform_device pxa27x_device_gpio;
|
|
extern struct platform_device pxa3xx_device_gpio;
|
|
extern struct platform_device pxa93x_device_gpio;
|
|
|
|
void __init pxa_register_device(struct platform_device *dev, void *data);
|