mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[brcm63xx] register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16328 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef BCM63XX_GPIO_H
|
||||
#define BCM63XX_GPIO_H
|
||||
|
||||
#include <linux/init.h>
|
||||
|
||||
int __init bcm63xx_gpio_init(void);
|
||||
|
||||
/* all helpers will BUG() if gpio count is >= 37. */
|
||||
#define BCM63XX_GPIO_COUNT 37
|
||||
|
||||
|
||||
Reference in New Issue
Block a user