watchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_mem_region
[pandora-kernel.git] / drivers / watchdog / iTCO_wdt.c
index 2c6c2b4..35a0d12 100644 (file)
@@ -247,7 +247,7 @@ static struct {
        {NULL, 0}
 };
 
-#define ITCO_PCI_DEVICE(dev, data)     \
+#define ITCO_PCI_DEVICE(dev, data) \
        .vendor = PCI_VENDOR_ID_INTEL,  \
        .device = dev,                  \
        .subvendor = PCI_ANY_ID,        \
@@ -262,7 +262,7 @@ static struct {
  * pci_driver, because the I/O Controller Hub has also other
  * functions that probably will be registered by other drivers.
  */
-static struct pci_device_id iTCO_wdt_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(iTCO_wdt_pci_tbl) = {
        { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AA_0,        TCO_ICH)},
        { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AB_0,        TCO_ICH0)},
        { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801BA_0,        TCO_ICH2)},