ceph: fix rare potential cap leak
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-mx5 / devices-imx50.h
blobc9e42823c7e305ebc1621bdcbd19b5273c91ca60
1 /*
2 * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
5 /*
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <mach/mx50.h>
22 #include <mach/devices-common.h>
24 extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[] __initconst;
25 #define imx50_add_imx_uart(id, pdata) \
26 imx_add_imx_uart_1irq(&imx50_imx_uart_data[id], pdata)
28 extern const struct imx_fec_data imx50_fec_data __initconst;
29 #define imx50_add_fec(pdata) \
30 imx_add_fec(&imx50_fec_data, pdata)
32 extern const struct imx_imx_i2c_data imx50_imx_i2c_data[] __initconst;
33 #define imx50_add_imx_i2c(id, pdata) \
34 imx_add_imx_i2c(&imx50_imx_i2c_data[id], pdata)