projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: core: Fix devres_alloc() allocation size
[linux-2.6-microblaze.git]
/
drivers
/
watchdog
/
watchdog_core.c
diff --git
a/drivers/watchdog/watchdog_core.c
b/drivers/watchdog/watchdog_core.c
index
6abb83c
..
74265b2
100644
(file)
--- a/
drivers/watchdog/watchdog_core.c
+++ b/
drivers/watchdog/watchdog_core.c
@@
-349,7
+349,7
@@
int devm_watchdog_register_device(struct device *dev,
struct watchdog_device **rcwdd;
int ret;
- rcwdd = devres_alloc(devm_watchdog_unregister_device, sizeof(*wdd),
+ rcwdd = devres_alloc(devm_watchdog_unregister_device, sizeof(*
rc
wdd),
GFP_KERNEL);
if (!rcwdd)
return -ENOMEM;