mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Replace the simple GPIO chip registration by a platform driver and make ath79_gpio_init() just register the device. Signed-off-by: Alban Bedel <[email protected]> Cc: [email protected] Signed-off-by: Ralf Baechle <[email protected]>
20 lines
476 B
C
20 lines
476 B
C
/*
|
|
* Atheros AR7XXX/AR9XXX GPIO controller platform data
|
|
*
|
|
* Copyright (C) 2015 Alban Bedel <[email protected]>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __LINUX_PLATFORM_DATA_GPIO_ATH79_H
|
|
#define __LINUX_PLATFORM_DATA_GPIO_ATH79_H
|
|
|
|
struct ath79_gpio_platform_data {
|
|
unsigned ngpios;
|
|
bool oe_inverted;
|
|
};
|
|
|
|
#endif
|