Re: [PATCH] net: smc91x: Fix gpios for device tree based booting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




From: Tony Lindgren <tony@xxxxxxxxxxx>
Date: Mon, 27 Oct 2014 13:25:56 -0700

> +/**
> + * of_try_set_control_gpio - configure a gpio if it exists
> + */
> +static int try_toggle_control_gpio(struct device *dev,
> +				   struct gpio_desc **desc,
> +				   const char *name, int index,
> +				   int value, unsigned int nsdelay)

This needs to be under CONFIG_OF cpp protection just like the code that
calls it.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux