linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Alexey Dobriyan <adobriyan@mail.ru>
Cc: Andrew Morton <akpm@osdl.org>,
	Bjorn Helgaas <bjorn.helgaas@hp.com>,
	rmk+serial@arm.linux.org.uk, linux-serial@vger.kernel.org,
	linux-kernel@vger.kernel.org, len.brown@intel.com,
	acpi-devel@lists.sourceforge.ne
Subject: Re: [2.6 patch] drivers/serial/8250_acpi.c: fix a warning
Date: Sat, 16 Apr 2005 04:38:52 +0200	[thread overview]
Message-ID: <20050416023852.GI4831@stusta.de> (raw)
In-Reply-To: <E1DMTPC-000ASo-00.adobriyan-mail-ru@f13.mail.ru>

On Fri, Apr 15, 2005 at 08:10:54PM +0400, Alexey Dobriyan wrote:
> On Fri, 15 Apr 2005 17:10:53 +0200, Adrian Bunk wrote:
> 
> > This patch fixes the following warning:
> 
> >   CC      drivers/serial/8250_acpi.o
> > drivers/serial/8250_acpi.c: In function `acpi_serial_ext_irq':
> > drivers/serial/8250_acpi.c:51: warning: implicit declaration of function `acpi_register_gsi'
> 
> > --- linux-2.6.12-rc2-mm1-full/drivers/serial/8250_acpi.c.old
> > +++ linux-2.6.12-rc2-mm1-full/drivers/serial/8250_acpi.c
> 
> > +#include <linux/config.h>
> 
> drivers/serial/8250_acpi.c doesn't use CONFIG_ symbols.

8250_acpi.c #include's <acpi/acpi_bus.h> which requires config.h .

In the Linux kernel, it's more common to put such header dependencies 
for header files into the C files, but if the ACPI people agree a patch 
to add the #include <linux/config.h> to acpi_bus.h is the other possble 
correct solution for this issue.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2005-04-16  2:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 15:10 [2.6 patch] drivers/serial/8250_acpi.c: fix a warning Adrian Bunk
2005-04-15 16:10 ` Alexey Dobriyan
2005-04-16  2:38   ` Adrian Bunk [this message]
2005-04-16  3:08     ` Herbert Xu
2005-04-16  7:59     ` Russell King
2005-04-17 18:19       ` [2.6 patch] ACPI: add two missing config.h #include's Adrian Bunk
2005-04-26  5:43         ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05 14:04 [2.6 patch] drivers/serial/8250_acpi.c: fix a warning Adrian Bunk
2005-04-05 15:28 ` Bjorn Helgaas

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=20050416023852.GI4831@stusta.de \
    --to=bunk@stusta.de \
    --cc=acpi-devel@lists.sourceforge.ne \
    --cc=adobriyan@mail.ru \
    --cc=akpm@osdl.org \
    --cc=bjorn.helgaas@hp.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=rmk+serial@arm.linux.org.uk \
    /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).