register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
SVN-Revision: 16328
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