Merge tag 'for-linus' of git://github.com/openrisc/linux
[linux-2.6-microblaze.git] / drivers / pinctrl / core.c
index 3663d87..9fc4433 100644 (file)
@@ -1602,9 +1602,11 @@ static int pinctrl_pins_show(struct seq_file *s, void *what)
        struct pinctrl_dev *pctldev = s->private;
        const struct pinctrl_ops *ops = pctldev->desc->pctlops;
        unsigned i, pin;
+#ifdef CONFIG_GPIOLIB
        struct pinctrl_gpio_range *range;
        unsigned int gpio_num;
        struct gpio_chip *chip;
+#endif
 
        seq_printf(s, "registered pins: %d\n", pctldev->desc->npins);