ARM: tegra: fix compilation error due to mach/hardware.h removal
[linux-btrfs-devel.git] / arch / arm / mach-imx / devices-imx21.h
blob2628e0c474dc2538f6a5b8c486a80fbabda738c7
1 /*
2 * Copyright (C) 2010 Pengutronix
3 * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License version 2 as published by the
7 * Free Software Foundation.
8 */
9 #include <mach/mx21.h>
10 #include <mach/devices-common.h>
12 extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data;
13 #define imx21_add_imx21_hcd(pdata) \
14 imx_add_imx21_hcd(&imx21_imx21_hcd_data, pdata)
16 extern const struct imx_imx2_wdt_data imx21_imx2_wdt_data;
17 #define imx21_add_imx2_wdt(pdata) \
18 imx_add_imx2_wdt(&imx21_imx2_wdt_data)
20 extern const struct imx_imx_fb_data imx21_imx_fb_data;
21 #define imx21_add_imx_fb(pdata) \
22 imx_add_imx_fb(&imx21_imx_fb_data, pdata)
24 extern const struct imx_imx_i2c_data imx21_imx_i2c_data;
25 #define imx21_add_imx_i2c(pdata) \
26 imx_add_imx_i2c(&imx21_imx_i2c_data, pdata)
28 extern const struct imx_imx_keypad_data imx21_imx_keypad_data;
29 #define imx21_add_imx_keypad(pdata) \
30 imx_add_imx_keypad(&imx21_imx_keypad_data, pdata)
32 extern const struct imx_imx_ssi_data imx21_imx_ssi_data[];
33 #define imx21_add_imx_ssi(id, pdata) \
34 imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata)
36 extern const struct imx_imx_uart_1irq_data imx21_imx_uart_data[];
37 #define imx21_add_imx_uart(id, pdata) \
38 imx_add_imx_uart_1irq(&imx21_imx_uart_data[id], pdata)
39 #define imx21_add_imx_uart0(pdata) imx21_add_imx_uart(0, pdata)
40 #define imx21_add_imx_uart1(pdata) imx21_add_imx_uart(1, pdata)
41 #define imx21_add_imx_uart2(pdata) imx21_add_imx_uart(2, pdata)
42 #define imx21_add_imx_uart3(pdata) imx21_add_imx_uart(3, pdata)
44 extern const struct imx_mxc_mmc_data imx21_mxc_mmc_data[];
45 #define imx21_add_mxc_mmc(id, pdata) \
46 imx_add_mxc_mmc(&imx21_mxc_mmc_data[id], pdata)
48 extern const struct imx_mxc_nand_data imx21_mxc_nand_data;
49 #define imx21_add_mxc_nand(pdata) \
50 imx_add_mxc_nand(&imx21_mxc_nand_data, pdata)
52 extern const struct imx_mxc_w1_data imx21_mxc_w1_data;
53 #define imx21_add_mxc_w1(pdata) \
54 imx_add_mxc_w1(&imx21_mxc_w1_data)
56 extern const struct imx_spi_imx_data imx21_cspi_data[];
57 #define imx21_add_cspi(id, pdata) \
58 imx_add_spi_imx(&imx21_cspi_data[id], pdata)
59 #define imx21_add_spi_imx0(pdata) imx21_add_cspi(0, pdata)
60 #define imx21_add_spi_imx1(pdata) imx21_add_cspi(1, pdata)