]> Pileus Git - ~andy/linux/blobdiff - drivers/ide/via82cxxx.c
ide: fix ->init_chipset method to return 'int' value
[~andy/linux] / drivers / ide / via82cxxx.c
index a41eab5cb5dfdef6235ef2689cd787bde31b680f..3ff7231e48582187a0d254069439a2f0737894ec 100644 (file)
@@ -267,7 +267,7 @@ static void via_cable_detect(struct via82cxxx_dev *vdev, u32 u)
  *     and initialize its drive independent registers.
  */
 
-static unsigned int init_chipset_via82cxxx(struct pci_dev *dev)
+static int init_chipset_via82cxxx(struct pci_dev *dev)
 {
        struct ide_host *host = pci_get_drvdata(dev);
        struct via82cxxx_dev *vdev = host->host_priv;