From: David Brownell <david-b@pacbell.net>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] gpio: Fix build on CONFIG_GPIO_SYSFS=n
Date: Mon, 28 Jul 2008 11:03:54 -0700 [thread overview]
Message-ID: <200807281103.55129.david-b@pacbell.net> (raw)
In-Reply-To: <20080729.001612.79297475.anemo@mba.ocn.ne.jp>
On Monday 28 July 2008, Atsushi Nemoto wrote:
> If CONFIG_GENERIC_GPIO=y && CONFIG_GPIO_SYSFS=n, gpio_export() in
> asm-generic/gpio.h refers -ENOSYS and causes build error.
>
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
> diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
> index c764a8f..0f99ad3 100644
> --- a/include/asm-generic/gpio.h
> +++ b/include/asm-generic/gpio.h
> @@ -2,6 +2,7 @@
> #define _ASM_GENERIC_GPIO_H
>
> #include <linux/types.h>
> +#include <linux/errno.h>
>
> #ifdef CONFIG_GPIOLIB
>
>
prev parent reply other threads:[~2008-07-28 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 15:16 Atsushi Nemoto
2008-07-28 18:03 ` David Brownell [this message]
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=200807281103.55129.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@linux-foundation.org \
--cc=anemo@mba.ocn.ne.jp \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®