summaryrefslogtreecommitdiffstats
path: root/drivers/nubus
diff options
context:
space:
mode:
authorRafael J. Wysocki2013-07-13 23:27:25 +0200
committerRafael J. Wysocki2013-07-23 04:00:22 +0200
commit7342798d0ab850a630877a362bc5a4f033100f37 (patch)
treee26c9ce3fabddb86b440a0b5ccf1edb0905a8017 /drivers/nubus
parentACPI / hotplug / PCI: Register all devices under the given bridge (diff)
downloadkernel-qcow2-linux-7342798d0ab850a630877a362bc5a4f033100f37.tar.gz
kernel-qcow2-linux-7342798d0ab850a630877a362bc5a4f033100f37.tar.xz
kernel-qcow2-linux-7342798d0ab850a630877a362bc5a4f033100f37.zip
ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot
If the slot unique number is passed as an additional argument to acpiphp_register_hotplug_slot(), the 'sun' field in struct acpiphp_slot is only used by ibm_[s|g]et_attention_status(), but then it's more efficient to store it in struct slot. Thus move the 'sun' field from struct acpiphp_slot to struct slot changing its data type to unsigned int in the process, and redefine acpiphp_register_hotplug_slot() to take the slot number as separate argument. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions