mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:05:15 +07:00
c02cecb92e
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 orion 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> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <djbw@fb.com> Cc: Bryan Wu <bryan.wu@canonical.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Liam Girdwood <lrg@ti.com> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.de>
27 lines
570 B
C
27 lines
570 B
C
/*
|
|
* arch/arm/mach-kirkwood/include/mach/leds-ns2.h
|
|
*
|
|
* Platform data structure for Network Space v2 LED driver
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __MACH_LEDS_NS2_H
|
|
#define __MACH_LEDS_NS2_H
|
|
|
|
struct ns2_led {
|
|
const char *name;
|
|
const char *default_trigger;
|
|
unsigned cmd;
|
|
unsigned slow;
|
|
};
|
|
|
|
struct ns2_led_platform_data {
|
|
int num_leds;
|
|
struct ns2_led *leds;
|
|
};
|
|
|
|
#endif /* __MACH_LEDS_NS2_H */
|