mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 08:55:05 +07:00
54ecf4f056
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the w90x900 include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org> Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
36 lines
790 B
C
36 lines
790 B
C
/*
|
|
* arch/arm/mach-w90x900/include/mach/nuc900_spi.h
|
|
*
|
|
* Copyright (c) 2009 Nuvoton technology corporation.
|
|
*
|
|
* Wan ZongShun <mcuos.com@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation;version 2 of the License.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_SPI_H
|
|
#define __ASM_ARCH_SPI_H
|
|
|
|
extern void mfp_set_groupg(struct device *dev, const char *subname);
|
|
|
|
struct nuc900_spi_info {
|
|
unsigned int num_cs;
|
|
unsigned int lsb;
|
|
unsigned int txneg;
|
|
unsigned int rxneg;
|
|
unsigned int divider;
|
|
unsigned int sleep;
|
|
unsigned int txnum;
|
|
unsigned int txbitlen;
|
|
int bus_num;
|
|
};
|
|
|
|
struct nuc900_spi_chip {
|
|
unsigned char bits_per_word;
|
|
};
|
|
|
|
#endif /* __ASM_ARCH_SPI_H */
|