Skip to content

Commit

Permalink
Galland: gpio-rk30 useful comment
Browse files Browse the repository at this point in the history
Comment explaining the reason for a bizarre assignment in this file.
Useful for future GPIO modifications

Signed-off-by: Omegamoon <[email protected]>
  • Loading branch information
omegamoon committed Sep 30, 2013
1 parent a907e38 commit 3823699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/gpio-rk30.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ static int rk30_gpiolib_request(struct gpio_chip *chip, unsigned offset);
.irq = IRQ_GPIO##ID, \
.regbase = (unsigned char __iomem *) RK30_GPIO##ID##_BASE, \
}
//Galland: the "ID < 6 ?" above is due to RK30 having GPIO5_BASE unavailable as gpios (but GPIO6 ports are)

static struct rk30_gpio_bank rk30_gpio_banks[] = {
RK30_GPIO_BANK(0),
Expand Down

0 comments on commit 3823699

Please sign in to comment.