tools, slub: Fix off-by-one buffer corruption after readlink() call
[linux-2.6/linux-mips.git] / arch / arm / mach-mx5 / devices-imx53.h
blobc27fe8bb4762ecce77a9caf5e5699d0b93d1eb14
1 /*
2 * Copyright (C) 2010 Yong Shen. <Yong.Shen@linaro.org>
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License version 2 as published by the
6 * Free Software Foundation.
7 */
8 #include <mach/mx53.h>
9 #include <mach/devices-common.h>
11 extern const struct imx_fec_data imx53_fec_data;
12 #define imx53_add_fec(pdata) \
13 imx_add_fec(&imx53_fec_data, pdata)
15 extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[];
16 #define imx53_add_imx_uart(id, pdata) \
17 imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata)
20 extern const struct imx_imx_i2c_data imx53_imx_i2c_data[];
21 #define imx53_add_imx_i2c(id, pdata) \
22 imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata)
24 extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[];
25 #define imx53_add_sdhci_esdhc_imx(id, pdata) \
26 imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata)
28 extern const struct imx_spi_imx_data imx53_ecspi_data[];
29 #define imx53_add_ecspi(id, pdata) \
30 imx_add_spi_imx(&imx53_ecspi_data[id], pdata)
32 extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[];
33 #define imx53_add_imx2_wdt(id, pdata) \
34 imx_add_imx2_wdt(&imx53_imx2_wdt_data[id])
36 extern const struct imx_imx_ssi_data imx53_imx_ssi_data[];
37 #define imx53_add_imx_ssi(id, pdata) \
38 imx_add_imx_ssi(&imx53_imx_ssi_data[id], pdata)
40 extern const struct imx_imx_keypad_data imx53_imx_keypad_data;
41 #define imx53_add_imx_keypad(pdata) \
42 imx_add_imx_keypad(&imx53_imx_keypad_data, pdata)