From: David Miller <davem@davemloft.net>
To: tony@atomide.com
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-omap@vger.kernel.org, khilman@linaro.org
Subject: Re: [PATCH] net: smc91x: Fix gpios for device tree based booting
Date: Wed, 29 Oct 2014 14:51:32 -0400 (EDT) [thread overview]
Message-ID: <20141029.145132.1881832564707108447.davem@davemloft.net> (raw)
In-Reply-To: <20141027202556.GT2560@atomide.com>
From: Tony Lindgren <tony@atomide.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.
next prev parent reply other threads:[~2014-10-29 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 20:25 [PATCH] net: smc91x: Fix gpios for device tree based booting Tony Lindgren
2014-10-29 18:51 ` David Miller [this message]
2014-10-30 16:59 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141029.145132.1881832564707108447.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=khilman@linaro.org \
--cc=linux-omap@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).