[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141029.145132.1881832564707108447.davem@davemloft.net>
Date: Wed, 29 Oct 2014 14:51:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tony@...mide.com
Cc: netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-omap@...r.kernel.org, khilman@...aro.org
Subject: Re: [PATCH] net: smc91x: Fix gpios for device tree based booting
From: Tony Lindgren <tony@...mide.com>
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists