]>
Commit | Line | Data |
---|---|---|
2b27bdcc | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
a6d511e5 N |
2 | /* |
3 | * TCA6507 LED chip driver. | |
4 | * | |
5 | * Copyright (C) 2011 Neil Brown <neil@brown.name> | |
a6d511e5 N |
6 | */ |
7 | ||
8 | #ifndef __LINUX_TCA6507_H | |
9 | #define __LINUX_TCA6507_H | |
10 | #include <linux/leds.h> | |
11 | ||
12 | struct tca6507_platform_data { | |
13 | struct led_platform_data leds; | |
14 | #ifdef CONFIG_GPIOLIB | |
15 | int gpio_base; | |
16 | void (*setup)(unsigned gpio_base, unsigned ngpio); | |
17 | #endif | |
18 | }; | |
19 | ||
20 | #define TCA6507_MAKE_GPIO 1 | |
21 | #endif /* __LINUX_TCA6507_H*/ |