summaryrefslogtreecommitdiff
path: root/drivers/leds/simple/simatic-ipc-leds-gpio.h
blob: 3d4877aa4e0cb4a27aa2e7808bcbfc85cd8bc89d (plain) (blame)
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);

int 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 */