x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / plat-samsung / include / plat / devs.h
blobe23fed311e5f95246f2d0a04c91a8af32ab039e4
1 /* arch/arm/plat-samsung/include/plat/devs.h
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * Copyright (c) 2004 Simtec Electronics
7 * Ben Dooks <ben@simtec.co.uk>
9 * Header file for s3c2410 standard platform devices
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
16 #ifndef __PLAT_DEVS_H
17 #define __PLAT_DEVS_H __FILE__
19 #include <linux/platform_device.h>
21 struct s3c24xx_uart_resources {
22 struct resource *resources;
23 unsigned long nr_resources;
26 extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
27 extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
29 extern struct platform_device *s3c24xx_uart_devs[];
30 extern struct platform_device *s3c24xx_uart_src[];
32 extern struct platform_device s3c64xx_device_ac97;
33 extern struct platform_device s3c64xx_device_iis0;
34 extern struct platform_device s3c64xx_device_iis1;
35 extern struct platform_device s3c64xx_device_iisv4;
36 extern struct platform_device s3c64xx_device_onenand1;
37 extern struct platform_device s3c64xx_device_pcm0;
38 extern struct platform_device s3c64xx_device_pcm1;
39 extern struct platform_device s3c64xx_device_spi0;
40 extern struct platform_device s3c64xx_device_spi1;
41 extern struct platform_device s3c64xx_device_spi2;
43 extern struct platform_device s3c_device_adc;
44 extern struct platform_device s3c_device_cfcon;
45 extern struct platform_device s3c_device_fb;
46 extern struct platform_device s3c_device_hwmon;
47 extern struct platform_device s3c_device_hsmmc0;
48 extern struct platform_device s3c_device_hsmmc1;
49 extern struct platform_device s3c_device_hsmmc2;
50 extern struct platform_device s3c_device_hsmmc3;
51 extern struct platform_device s3c_device_i2c0;
52 extern struct platform_device s3c_device_i2c1;
53 extern struct platform_device s3c_device_i2c2;
54 extern struct platform_device s3c_device_i2c3;
55 extern struct platform_device s3c_device_i2c4;
56 extern struct platform_device s3c_device_i2c5;
57 extern struct platform_device s3c_device_i2c6;
58 extern struct platform_device s3c_device_i2c7;
59 extern struct platform_device s3c_device_iis;
60 extern struct platform_device s3c_device_lcd;
61 extern struct platform_device s3c_device_nand;
62 extern struct platform_device s3c_device_ohci;
63 extern struct platform_device s3c_device_onenand;
64 extern struct platform_device s3c_device_rtc;
65 extern struct platform_device s3c_device_sdi;
66 extern struct platform_device s3c_device_spi0;
67 extern struct platform_device s3c_device_spi1;
68 extern struct platform_device s3c_device_ts;
69 extern struct platform_device s3c_device_timer[];
70 extern struct platform_device s3c_device_usbgadget;
71 extern struct platform_device s3c_device_usb_hsotg;
72 extern struct platform_device s3c_device_usb_hsudc;
73 extern struct platform_device s3c_device_wdt;
75 extern struct platform_device samsung_asoc_idma;
76 extern struct platform_device samsung_device_keypad;
77 extern struct platform_device samsung_device_pwm;
79 /* s3c2440 specific devices */
81 #ifdef CONFIG_CPU_S3C2440
83 extern struct platform_device s3c_device_camif;
84 extern struct platform_device s3c_device_ac97;
86 #endif
88 /**
89 * s3c_set_platdata() - helper for setting platform data
90 * @pd: The default platform data for this device.
91 * @pdsize: The size of the platform data.
92 * @pdev: Pointer to the device to fill in.
94 * This helper replaces a number of calls that copy and then set the
95 * platform data of the device.
97 extern void *s3c_set_platdata(void *pd, size_t pdsize,
98 struct platform_device *pdev);
100 #endif /* __PLAT_DEVS_H */