]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pci-acpi: add flag to indicate query had been done
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 15 May 2008 06:21:16 +0000 (15:21 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:48 +0000 (10:59 -0700)
commit681f7d9db58d2b6dc3c3b784d6815f86a53b6ba0
tree78bfb611f150d6843892f91a3f074dea2c59ac93
parent5e0b9947452c824d66fafe728a46312cff544a7f
pci-acpi: add flag to indicate query had been done

Current pci-acpi implementation checks osc_data->support_stat to see
if control bits had been already queried. It is not good from the
viewpoint of easy understanding. So this patch adds new 'is_queried'
flag to indicate query had been done.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c