]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[mirror_ubuntu-bionic-kernel.git] / arch / mips / include / asm / mach-ath79 / ath79_spi_platform.h
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
14 struct ath79_spi_platform_data {
15 unsigned bus_num;
16 unsigned num_chipselect;
17 };
18
19 struct ath79_spi_controller_data {
20 unsigned gpio;
21 };
22
23 #endif /* _ATH79_SPI_PLATFORM_H */