kernel/drivers/pci/hotplug/acpiphp_ibm.c
.. .. @@ -41,7 +41,7 @@ 41 41 #define IBM_HARDWARE_ID1 "IBM37D0" 42 42 #define IBM_HARDWARE_ID2 "IBM37D4" 43 43 44 -#define hpslot_to_sun(A) (((struct slot *)((A)->private))->sun)44 +#define hpslot_to_sun(A) (to_slot(A)->sun)45 45 46 46 /* union apci_descriptor - allows access to the 47 47 * various device descriptors that are embedded in the