hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/platform_data/leds-s3c24xx.h
....@@ -1,25 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006 Simtec Electronics
34 * http://armlinux.simtec.co.uk/
45 * Ben Dooks <ben@simtec.co.uk>
56 *
67 * S3C24XX - LEDs GPIO connector
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
118 */
129
1310 #ifndef __LEDS_S3C24XX_H
1411 #define __LEDS_S3C24XX_H
1512
16
-#define S3C24XX_LEDF_ACTLOW (1<<0) /* LED is on when GPIO low */
17
-#define S3C24XX_LEDF_TRISTATE (1<<1) /* tristate to turn off */
18
-
1913 struct s3c24xx_led_platdata {
20
- unsigned int gpio;
21
- unsigned int flags;
22
-
2314 char *name;
2415 char *def_trigger;
2516 };