1/* 2 * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller 3 * 4 * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation. 9 */ 10 11#ifndef _ATH79_SPI_PLATFORM_H 12#define _ATH79_SPI_PLATFORM_H 13 14struct ath79_spi_platform_data { 15 unsigned bus_num; 16 unsigned num_chipselect; 17}; 18 19struct ath79_spi_controller_data { 20 unsigned gpio; 21}; 22 23#endif /* _ATH79_SPI_PLATFORM_H */ 24