projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swconfig: cleanup of kernel drivers and interface
[openwrt.git]
/
target
/
linux
/
rdc
/
patches-2.6.32
/
003-rdc321x_watchdog_southbridge.patch
diff --git
a/target/linux/rdc/patches-2.6.32/003-rdc321x_watchdog_southbridge.patch
b/target/linux/rdc/patches-2.6.32/003-rdc321x_watchdog_southbridge.patch
index
2671fb1
..
9bb1453
100644
(file)
--- a/
target/linux/rdc/patches-2.6.32/003-rdc321x_watchdog_southbridge.patch
+++ b/
target/linux/rdc/patches-2.6.32/003-rdc321x_watchdog_southbridge.patch
@@
-106,13
+106,13
@@
Changes from v2:
+ struct resource *r;
+ struct rdc321x_wdt_pdata *pdata;
+
+ struct resource *r;
+ struct rdc321x_wdt_pdata *pdata;
+
-+ pdata = p
dev->dev.platform_data
;
++ pdata = p
latform_get_drvdata(pdev)
;
+ if (!pdata) {
+ dev_err(&pdev->dev, "no platform data supplied\n");
+ return -ENODEV;
+ }
+
+ 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;
+ if (!r) {
+ dev_err(&pdev->dev, "failed to get wdt-reg resource\n");
+ return -ENODEV;
This page took
0.02973 seconds
and
4
git commands to generate.