mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-04 02:40:15 +03:00
[rdc] define panic_on_unrecovered_nmi in the southbridge driver and fix watchdog init message
Patch from Bernhard Loos. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20134 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fdc060ab00
commit
e9601431a5
@ -81,6 +81,8 @@ static int __devinit rdc321x_sb_probe(struct pci_dev *pdev, const struct pci_dev
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
panic_on_unrecovered_nmi = 1;
|
||||||
|
|
||||||
err = platform_device_register(&rdc321x_gpio_device);
|
err = platform_device_register(&rdc321x_gpio_device);
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(&pdev->dev, "failed to register gpiochip\n");
|
dev_err(&pdev->dev, "failed to register gpiochip\n");
|
||||||
|
@ -244,7 +244,7 @@ static int __init rdc321x_wdt_probe(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
panic_on_unrecovered_nmi = 1;
|
panic_on_unrecovered_nmi = 1;
|
||||||
dev_info(&pdev->dev, "watchdog inig success\n");
|
dev_info(&pdev->dev, "watchdog init success\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user