brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
[openwrt.git] / target / linux / rdc / patches-2.6.30 / 003-rdc321x_watchdog_southbridge.patch
index 2671fb1..56b3005 100644 (file)
@@ -106,13 +106,13 @@ Changes from v2:
 +      struct resource *r;
 +      struct rdc321x_wdt_pdata *pdata;
 +
-+      pdata = pdev->dev.platform_data;
++      pdata = pdev->dev.driver_data;
 +      if (!pdata) {
 +              dev_err(&pdev->dev, "no platform data supplied\n");
 +              return -ENODEV;
 +      }
 +
-+      r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "wdt-reg");
++      r = platform_get_resource_byname(pdev, IORESOURCE_IO, "wdt-reg");
 +      if (!r) {
 +              dev_err(&pdev->dev, "failed to get wdt-reg resource\n");
 +              return -ENODEV;
This page took 0.031247 seconds and 4 git commands to generate.