Source
1
+
// SPDX-License-Identifier: GPL-2.0+
1
2
/*
2
3
* Linux GPIOlib driver for the VIA VX855 integrated southbridge GPIO
3
4
*
4
5
* Copyright (C) 2009 VIA Technologies, Inc.
5
6
* Copyright (C) 2010 One Laptop per Child
6
7
* Author: Harald Welte <HaraldWelte@viatech.com>
7
8
* All rights reserved.
8
-
*
9
-
* This program is free software; you can redistribute it and/or
10
-
* modify it under the terms of the GNU General Public License as
11
-
* published by the Free Software Foundation; either version 2 of
12
-
* the License, or (at your option) any later version.
13
-
*
14
-
* This program is distributed in the hope that it will be useful,
15
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
-
* GNU General Public License for more details.
18
-
*
19
-
* You should have received a copy of the GNU General Public License
20
-
* along with this program; if not, write to the Free Software
21
-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22
-
* MA 02111-1307 USA
23
-
*
24
9
*/
25
-
26
10
#include <linux/kernel.h>
27
11
#include <linux/module.h>
28
12
#include <linux/gpio/driver.h>
29
13
#include <linux/slab.h>
30
14
#include <linux/device.h>
31
15
#include <linux/platform_device.h>
32
16
#include <linux/pci.h>
33
17
#include <linux/io.h>
34
18
35
19
#define MODULE_NAME "vx855_gpio"