linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alan@linux.intel.com (Alan Cox)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pcmcia: add missing include for new pci resource handler
Date: Tue, 13 Jan 2015 17:10:28 +0000	[thread overview]
Message-ID: <1421169028.6941.0.camel@linux.intel.com> (raw)
In-Reply-To: <5425521.E2szj8uYq0@wuerfel>

On Tue, 2015-01-13 at 15:11 +0100, Arnd Bergmann wrote:
> The recently added rsrc_pci.c file calls pci_bus_alloc_resource without
> including the header file that declares it, and that sometimes causes
> a build warning on ARM:
> 
> drivers/pcmcia/rsrc_pci.c: In function 'find_io_region':
> drivers/pcmcia/rsrc_pci.c:40:2: error: implicit declaration of function 'pci_bus_alloc_resource' [-Werror=implicit-function-declaration]
> 
> This adds the missing include statement.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Alan Cox <alan@linux.intel.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Fixes: 02b03846bb2be ("pcmcia: add a new resource manager for non ISA systems"

Acked-by: Alan Cox <alan@linux.intel.com>

I hadn't intended it to be sucked on ARM although I guess it ought to
work there just fine.

Alan

      reply	other threads:[~2015-01-13 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 14:11 [PATCH] pcmcia: add missing include for new pci resource handler Arnd Bergmann
2015-01-13 17:10 ` Alan Cox [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=1421169028.6941.0.camel@linux.intel.com \
    --to=alan@linux.intel.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).