2 * arch/arm/mach-u300/spi.h
4 * Copyright (C) 2009 ST-Ericsson AB
5 * License terms: GNU General Public License (GPL) version 2
7 * Author: Linus Walleij <linus.walleij@stericsson.com>
11 #include <linux/amba/bus.h>
13 #ifdef CONFIG_SPI_PL022
14 void __init
u300_spi_init(struct amba_device
*adev
);
15 void __init
u300_spi_register_board_devices(void);
17 /* Compile out SPI support if PL022 is not selected */
18 static inline void __init
u300_spi_init(struct amba_device
*adev
)
21 static inline void __init
u300_spi_register_board_devices(void)