History

MIPS: ath79: Add OF support to the GPIO driver

Replace the simple GPIO chip registration by a platform driver and make ath79_gpio_init() just register the device.

Alban Bedel committed 11 years ago

Commit 2ddf3a71 parent d6743a43 files · +127 −22Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/gpio-ath79.h+19−0
@@ -0,0 +1,19 @@
1/*
2 * Atheros AR7XXX/AR9XXX GPIO controller platform data
3 *
4 * Copyright (C) 2015 Alban Bedel <albeu@free.fr>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H
12#define __LINUX_PLATFORM_DATA_GPIO_ATH79_H
13
14struct ath79_gpio_platform_data {
15 unsigned ngpios;
16 bool oe_inverted;
17};
18
19#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t