source: trunk/target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch @ 13220

Last change on this file since 13220 was 13220, checked in by florian, 8 years ago

Use 2.6.27 for au1000

File size: 629 bytes
  • drivers/watchdog/mtx-1_wdt.c

    diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
    index b4b7b0a..3acce62 100644
    a b static void mtx1_wdt_reset(void) 
    9898 
    9999static void mtx1_wdt_start(void) 
    100100{ 
     101        unsigned long flags; 
     102 
    101103        spin_lock_irqsave(&mtx1_wdt_device.lock, flags); 
    102104        if (!mtx1_wdt_device.queue) { 
    103105                mtx1_wdt_device.queue = 1; 
    static void mtx1_wdt_start(void) 
    110112 
    111113static int mtx1_wdt_stop(void) 
    112114{ 
     115        unsigned long flags; 
     116 
    113117        spin_lock_irqsave(&mtx1_wdt_device.lock, flags); 
    114118        if (mtx1_wdt_device.queue) { 
    115119                mtx1_wdt_device.queue = 0; 
Note: See TracBrowser for help on using the repository browser.