X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Famazon%2Ffiles%2Fdrivers%2Fwatchdog%2Famazon_wdt.c;fp=target%2Flinux%2Famazon%2Ffiles%2Fdrivers%2Fwatchdog%2Famazon_wdt.c;h=b18296b794ed4d6ac62d43e45a9102e1023f6018;hb=abd74f86b459f4ac684de4a0f1bf6552d14b105a;hp=89f1e2281c2d4d1f4ab8cdbebbbf49b897284b68;hpb=2803206c500fd09cbcb926e9cba7b19b5ae0d9f2;p=openwrt%2Fopenwrt.git diff --git a/target/linux/amazon/files/drivers/watchdog/amazon_wdt.c b/target/linux/amazon/files/drivers/watchdog/amazon_wdt.c index 89f1e2281c..b18296b794 100644 --- a/target/linux/amazon/files/drivers/watchdog/amazon_wdt.c +++ b/target/linux/amazon/files/drivers/watchdog/amazon_wdt.c @@ -215,7 +215,7 @@ static struct file_operations wdt_fops = { release: wdt_release, }; -static int __init amazon_wdt_probe(struct platform_device *dev) +static int amazon_wdt_probe(struct platform_device *dev) { int result = result = register_chrdev(0, "watchdog", &wdt_fops);