)]}'
{
  "commit": "d59b4eaaf04db07a02f092bfcb00de7f2e2d10db",
  "tree": "793bf9fadb38ebcbbe84d6e403405c3e43e81023",
  "parents": [
    "c111feabe2e200b15300d97107ffc1280bf8de2a"
  ],
  "author": {
    "name": "Shawn Guo",
    "email": "shawn.guo@linaro.org",
    "time": "Thu Jan 17 22:03:22 2013 +0800"
  },
  "committer": {
    "name": "Linus Walleij",
    "email": "linus.walleij@linaro.org",
    "time": "Tue Jan 22 10:23:34 2013 +0100"
  },
  "message": "gpio: fix warning of \u0027struct gpio_chip\u0027 declaration\n\nThe struct gpio_chip is only defined inside #ifdef CONFIG_GPIOLIB,\nbut it\u0027s referenced by gpiochip_add_pin_range() and\ngpiochip_remove_pin_ranges() which are outside #ifdef CONFIG_GPIOLIB.\nThus, we see the following warning when building blackfin image, where\nGPIOLIB is not required.\n\n  CC      arch/blackfin/kernel/bfin_gpio.o\n  CC      init/version.o\nIn file included from arch/blackfin/include/asm/gpio.h:321,\n                 from arch/blackfin/kernel/bfin_gpio.c:15:\ninclude/asm-generic/gpio.h:298: warning: \u0027struct gpio_chip\u0027 declared inside parameter list\ninclude/asm-generic/gpio.h:298: warning: its scope is only this definition or declaration, which is probably not what you want\ninclude/asm-generic/gpio.h:304: warning: \u0027struct gpio_chip\u0027 declared inside parameter list\n\nMove pinctrl trunk into #ifdef CONFIG_GPIOLIB to fix the warning,\nsince it appears that pinctrl gpio range support depends on GPIOLIB.\n\nSigned-off-by: Shawn Guo \u003cshawn.guo@linaro.org\u003e\nSigned-off-by: Linus Walleij \u003clinus.walleij@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "20ca7663975f04244a794f2a43655adbdd262699",
      "old_mode": 33188,
      "old_path": "include/asm-generic/gpio.h",
      "new_id": "23410147555f5de17eba74f95d1070621c8fe8c4",
      "new_mode": 33188,
      "new_path": "include/asm-generic/gpio.h"
    }
  ]
}
