lkml.org 
[lkml]   [2018]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 5/9] PCI: consolidate the PCI_DOMAINS and PCI_DOMAINS_GENERIC config options
On Fri, Nov 16, 2018 at 4:07 AM Christoph Hellwig <hch@lst.de> wrote:

> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index a8128a1946a2..95812fc4958c 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -21,6 +21,15 @@ menuconfig PCI
> support for PCI-X and the foundations for PCI Express support.
> Say 'Y' here unless you know what you are doing.
>
> +config PCI_DOMAINS
> + depends on PCI
> + bool
> +
> +config PCI_DOMAINS_GENERIC
> + depends on PCI
> + select PCI_DOMAINS
> + bool
> +
> source "drivers/pci/pcie/Kconfig"
>
> config PCI_MSI


I reordered this so it 'bool' comes first.

config PCI_DOMAINS
bool
depends on PCI


config PCI_DOMAINS_GENERIC
bool
depends on PCI
select PCI_DOMAINS


Of course, it is just a matter of slight taste.
I just wanted the code to look consistent.




--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2018-11-23 03:43    [W:0.066 / U:1.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site