register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback

SVN-Revision: 16328
This commit is contained in:
Florian Fainelli
2009-06-04 09:59:28 +00:00
parent 74dfd77f41
commit c95420f06d
3 changed files with 9 additions and 2 deletions

View File

@@ -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