
21 Jul
2011
21 Jul
'11
3:41 p.m.
On Thu, Jul 21, 2011 at 01:39, Ajay Bhargav wrote:
+char gpio_names[MV_MAX_GPIO][GPIO_LABEL_MAX];
probably want to be static ... and this functionality is optional if you want to just ignore the labels. for Blackfin gpio, i make it a build option (useful for debug, not so much for production).
+static int get_gpio_base(int bank)
if this returned a "struct gpio_reg *", you wouldnt need to cast everything else below ... -mike