]> err.no Git - linux-2.6/blobdiff - drivers/edac/i82860_edac.c
HID: Implement horizontal wheel handling for A4 Tech X5-005D
[linux-2.6] / drivers / edac / i82860_edac.c
index c4c1e76b1270a764c89b6d10597de8de08e2df5d..f5ecd2c4d813eb9439bcffb6a69addbfd7e724ff 100644 (file)
@@ -186,7 +186,7 @@ static int i82860_probe1(struct pci_dev *pdev, int dev_idx)
           the channel and the GRA registers map to physical devices so we are
           going to make 1 channel for group.
         */
-       mci = edac_mc_alloc(0, 16, 1);
+       mci = edac_mc_alloc(0, 16, 1, 0);
 
        if (!mci)
                return -ENOMEM;
@@ -209,7 +209,7 @@ static int i82860_probe1(struct pci_dev *pdev, int dev_idx)
        /* Here we assume that we will never see multiple instances of this
         * type of memory controller.  The ID is therefore hardcoded to 0.
         */
-       if (edac_mc_add_mc(mci, 0)) {
+       if (edac_mc_add_mc(mci)) {
                debugf3("%s(): failed edac_mc_add_mc()\n", __func__);
                goto fail;
        }