mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b172fd0c89
To allow building this driver in compile test we need to remove all dependency on headers from arch/mips/include. To allow this we explicitly define all the registers locally instead of using ar71xx_regs.h and we move the platform data struct definition to include/linux/platform_data/spi-ath79.h. Signed-off-by: Alban Bedel <albeu@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
20 lines
520 B
C
20 lines
520 B
C
/*
|
|
* Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller
|
|
*
|
|
* Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ATH79_SPI_PLATFORM_H
|
|
#define _ATH79_SPI_PLATFORM_H
|
|
|
|
struct ath79_spi_platform_data {
|
|
unsigned bus_num;
|
|
unsigned num_chipselect;
|
|
};
|
|
|
|
#endif /* _ATH79_SPI_PLATFORM_H */
|