diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-06-16 11:00:47 +0900 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-16 14:30:11 -0700 |
commit | 498a8faf2c7eb974f70b7c5a60a31f0d48c35d44 (patch) | |
tree | b7703de6971327eacbb5471bb251a05b9c3f56ea /arch/arm/configs/shannon_defconfig | |
parent | bd3d99c17039fd05a29587db3f4a180c48da115a (diff) |
PCI hotplug: fix return value of has_foo() functions
Current has_foo() functions in pci_hotplug_core.c returns 0 if the
"foo" property is true. It would cause misunderstanding. In addition,
the error code of those functions is never checked, so this patch
changes those functions' error code to 'bool' and return true if the
property "foo" is true.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/arm/configs/shannon_defconfig')
0 files changed, 0 insertions, 0 deletions