diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c index b5facdd3f382..f424171d845b 100644 --- a/sys/dev/agp/agp_intel.c +++ b/sys/dev/agp/agp_intel.c @@ -130,6 +130,7 @@ agp_intel_attach(device_t dev) struct agp_intel_softc *sc = device_get_softc(dev); struct agp_gatt *gatt; u_int32_t type = pci_get_devid(dev); + u_int32_t value; int error; error = agp_generic_attach(dev); diff --git a/sys/pci/agp_intel.c b/sys/pci/agp_intel.c index b5facdd3f382..f424171d845b 100644 --- a/sys/pci/agp_intel.c +++ b/sys/pci/agp_intel.c @@ -130,6 +130,7 @@ agp_intel_attach(device_t dev) struct agp_intel_softc *sc = device_get_softc(dev); struct agp_gatt *gatt; u_int32_t type = pci_get_devid(dev); + u_int32_t value; int error; error = agp_generic_attach(dev);