From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: okaya@kernel.org
Cc: "ACPI Devel Maling List" <linux-acpi@vger.kernel.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Ingo Molnar" <mingo@redhat.com>,
"Borislav Petkov" <bp@alien8.de>,
"H. Peter Anvin" <hpa@zytor.com>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)"
<x86@kernel.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>,
"Len Brown" <lenb@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Robert Moore" <robert.moore@intel.com>,
"Schmauss, Erik" <erik.schmauss@intel.com>,
"Jan Kiszka" <jan.kiszka@siemens.com>,
otavio.pontes@intel.com,
"Christian Koenig" <christian.koenig@amd.com>,
"Christian König" <ckoenig.leichtzumerken@gmail.com>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
linux-pci@vger.kernel.org, devel@acpica.org
Subject: Re: [PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support
Date: Sun, 9 Dec 2018 08:20:24 +0200 [thread overview]
Message-ID: <CAHp75VeCSPv81Bf2zjgFfD1YW2B6Z0YdhJsGR+Hvrf54mvdOPA@mail.gmail.com> (raw)
In-Reply-To: <20181208214644.5374-3-okaya@kernel.org>
On Sat, Dec 8, 2018 at 11:46 PM Sinan Kaya <okaya@kernel.org> wrote:
>
> We are compiling PCI code today for systems with ACPI and no PCI
> device present. Remove the useless code and reduce the tight
> dependency.
> +#ifdef CONFIG_PCI
> struct pci_dev *acpi_get_pci_dev(acpi_handle);
> +#else
> +static inline struct pci_dev *acpi_get_pci_dev(acpi_handle hndl)
Can you spell handle fully?
> +{
> + return NULL;
> +}
> +#endif
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2018-12-09 6:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-08 21:46 [PATCH v2 1/3] ACPI: Allow PCI to be disabled for reboot Sinan Kaya
2018-12-08 21:46 ` [PATCH v2 2/3] ACPI / OSL: Allow PCI to be disabled Sinan Kaya
2018-12-08 21:46 ` [PATCH v2 3/3] PCI/ACPI: allow ACPI to be built without PCI support Sinan Kaya
2018-12-09 6:20 ` Andy Shevchenko [this message]
2018-12-09 16:03 ` Sinan Kaya
2018-12-11 10:12 ` [PATCH v2 1/3] ACPI: Allow PCI to be disabled for reboot Rafael J. Wysocki
2018-12-11 16:54 ` Sinan Kaya
2018-12-11 21:49 ` Rafael J. Wysocki
2018-12-11 22:00 ` Sinan Kaya
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=CAHp75VeCSPv81Bf2zjgFfD1YW2B6Z0YdhJsGR+Hvrf54mvdOPA@mail.gmail.com \
--to=andy.shevchenko@gmail.com \
--cc=bhelgaas@google.com \
--cc=bp@alien8.de \
--cc=christian.koenig@amd.com \
--cc=ckoenig.leichtzumerken@gmail.com \
--cc=devel@acpica.org \
--cc=erik.schmauss@intel.com \
--cc=hpa@zytor.com \
--cc=jan.kiszka@siemens.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=okaya@kernel.org \
--cc=otavio.pontes@intel.com \
--cc=rjw@rjwysocki.net \
--cc=robert.moore@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@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;
as well as URLs for NNTP newsgroup(s).