Lines 108-115
void __init acpi_watchdog_init(void)
Link Here
|
108 |
goto fail_free_resource_list; |
108 |
goto fail_free_resource_list; |
109 |
|
109 |
|
110 |
i = 0; |
110 |
i = 0; |
111 |
resource_list_for_each_entry(rentry, &resource_list) |
111 |
resource_list_for_each_entry(rentry, &resource_list) { |
|
|
112 |
pr_info("Adding resource %d: %pR\n", i, rentry->res); |
112 |
resources[i++] = *rentry->res; |
113 |
resources[i++] = *rentry->res; |
|
|
114 |
} |
113 |
|
115 |
|
114 |
pdev = platform_device_register_simple("wdat_wdt", PLATFORM_DEVID_NONE, |
116 |
pdev = platform_device_register_simple("wdat_wdt", PLATFORM_DEVID_NONE, |
115 |
resources, nresources); |
117 |
resources, nresources); |