]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: MMCONFIG: remove typeof so we can use a list
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Sat, 14 Nov 2009 00:34:44 +0000 (17:34 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Nov 2009 23:30:08 +0000 (15:30 -0800)
commit2a00ab55138ed3da9e39214261a76fe7f3474390
tree822f6e71b813b8c424f1dc4fdaed726372b623c3
parent0a07dd6b1ba3405dc65c3c08542d2cf97a657a4f
x86/PCI: MMCONFIG: remove typeof so we can use a list

This replaces "typeof(pci_mmcfg_config[0])" with the actual type because
I plan to convert pci_mmcfg_config to a list, and then "pci_mmcfg_config[0]"
won't mean anything.

Reviewed-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/mmconfig-shared.c