hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/pci/hotplug/acpiphp_ibm.c
....@@ -41,7 +41,7 @@
4141 #define IBM_HARDWARE_ID1 "IBM37D0"
4242 #define IBM_HARDWARE_ID2 "IBM37D4"
4343
44
-#define hpslot_to_sun(A) (((struct slot *)((A)->private))->sun)
44
+#define hpslot_to_sun(A) (to_slot(A)->sun)
4545
4646 /* union apci_descriptor - allows access to the
4747 * various device descriptors that are embedded in the