summaryrefslogtreecommitdiffstats
path: root/drivers/leds/simple/simatic-ipc-leds-gpio.h
blob: 6b2519809cee8c7a66247d95faa934b437f583c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Siemens SIMATIC IPC driver for GPIO based LEDs
 *
 * Copyright (c) Siemens AG, 2023
 *
 * Author:
 *  Henning Schild <henning.schild@siemens.com>
 */

#ifndef _SIMATIC_IPC_LEDS_GPIO_H
#define _SIMATIC_IPC_LEDS_GPIO_H

int simatic_ipc_leds_gpio_probe(struct platform_device *pdev,
				struct gpiod_lookup_table *table,
				struct gpiod_lookup_table *table_extra);

void simatic_ipc_leds_gpio_remove(struct platform_device *pdev,
				  struct gpiod_lookup_table *table,
				  struct gpiod_lookup_table *table_extra);

#endif /* _SIMATIC_IPC_LEDS_GPIO_H */