X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f024fd0c2ae5e7499c6c0473a0b1aa9490611380..347c600521d2864d728e192cff1c1124d54b23ea:/target/linux/rdc/patches-2.6.30/003-rdc321x_watchdog_southbridge.patch?ds=inline diff --git a/target/linux/rdc/patches-2.6.30/003-rdc321x_watchdog_southbridge.patch b/target/linux/rdc/patches-2.6.30/003-rdc321x_watchdog_southbridge.patch index 2671fb17c..56b3005f4 100644 --- a/target/linux/rdc/patches-2.6.30/003-rdc321x_watchdog_southbridge.patch +++ b/target/linux/rdc/patches-2.6.30/003-rdc321x_watchdog_southbridge.patch @@ -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;