| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * System Specific setup for PCEngines ALIX. |
|---|
| 3 | 4 | * At the moment this means setup of GPIO control of LEDs |
|---|
| 4 | 5 | * on Alix.2/3/6 boards. |
|---|
| 5 | | - * |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Copyright (C) 2008 Constantin Baranov <const@mimas.ru> |
|---|
| 8 | 8 | * Copyright (C) 2011 Ed Wildgoose <kernel@wildgooses.com> |
|---|
| .. | .. |
|---|
| 11 | 11 | * TODO: There are large similarities with leds-net5501.c |
|---|
| 12 | 12 | * by Alessandro Zummo <a.zummo@towertech.it> |
|---|
| 13 | 13 | * In the future leds-net5501.c should be migrated over to platform |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 16 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 17 | | - * as published by the Free Software Foundation. |
|---|
| 18 | 14 | */ |
|---|
| 19 | 15 | |
|---|
| 20 | 16 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 24 | 20 | #include <linux/moduleparam.h> |
|---|
| 25 | 21 | #include <linux/leds.h> |
|---|
| 26 | 22 | #include <linux/platform_device.h> |
|---|
| 27 | | -#include <linux/gpio.h> |
|---|
| 28 | 23 | #include <linux/input.h> |
|---|
| 29 | 24 | #include <linux/gpio_keys.h> |
|---|
| 30 | 25 | #include <linux/dmi.h> |
|---|