aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pcic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcic')
-rw-r--r--sys/dev/pcic/i82365.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pcic/i82365.c b/sys/dev/pcic/i82365.c
index 265d2902c59e..2e270776ac4b 100644
--- a/sys/dev/pcic/i82365.c
+++ b/sys/dev/pcic/i82365.c
@@ -1299,7 +1299,7 @@ pcic_enable_socket(device_t dev, device_t child)
int
pcic_disable_socket(device_t dev, device_t child)
{
- struct pcic_handle *h = NULL; /* XXXIMPXXX */
+ struct pcic_handle *h = pcic_get_handle(dev, child);
DPRINTF(("pcic_chip_socket_disable\n"));
/* power down the socket */