]> Git Repo - J-linux.git/blob - arch/x86/platform/geode/geode-common.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / x86 / platform / geode / geode-common.h
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Shared helpers to register GPIO-connected buttons and LEDs
4  * on AMD Geode boards.
5  */
6
7 #ifndef __PLATFORM_GEODE_COMMON_H
8 #define __PLATFORM_GEODE_COMMON_H
9
10 #include <linux/property.h>
11
12 struct geode_led {
13         unsigned int pin;
14         bool default_on;
15 };
16
17 int geode_create_restart_key(unsigned int pin);
18 int geode_create_leds(const char *label, const struct geode_led *leds,
19                       unsigned int n_leds);
20
21 #endif /* __PLATFORM_GEODE_COMMON_H */
This page took 0.026494 seconds and 4 git commands to generate.