1. 23 2月, 2012 1 次提交
  2. 07 3月, 2010 1 次提交
  3. 18 6月, 2009 1 次提交
  4. 08 4月, 2009 1 次提交
    • U
      [WATCHDOG] at91rm9200_wdt.c: move probe function to .devinit.text · 47dec7c6
      Uwe Kleine-König 提交于
      A pointer to at91wdt_probe is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: Ilpo Jarvinen <ilpo.jarvinen@helsinki.fi>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      47dec7c6
  5. 15 2月, 2009 1 次提交
    • A
      [ARM] 5390/1: AT91: Watchdog fixes · 2af29b78
      Andrew Victor 提交于
      The recently merged AT91SAM9 watchdog driver uses the
      AT91SAM9X_WATCHDOG config variable, whereas the original version of
      the driver (and the platform support code) used AT91SAM9_WATCHDOG.
      This causes the watchdog platform_device to never be registered, and
      therefore the driver not to be initialized.
      
      This patch:
      - updates the platform support code to use AT91SAM9X_WATCHDOG.
      - includes <linux/io.h> to fix compile error (same fix as was applied
      to at91rm9200_wdt.c)
      - fixes comment regarding watchdog clock-rates in at91rm9200.
      Signed-off-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      2af29b78
  6. 24 1月, 2009 1 次提交
  7. 27 8月, 2008 1 次提交
  8. 16 8月, 2008 1 次提交
    • A
      [ARM] Fix a pile of broken watchdog drivers · 8b5942c3
      Adrian Bunk 提交于
      These patches from Adrian fix:
      - ixp4xx_wdt: 20d35f3e
        CC      drivers/watchdog/ixp4xx_wdt.o
      ixp4xx_wdt.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
      ixp4xx_wdt.c: In function 'wdt_enable':
      ixp4xx_wdt.c:41: error: 'wdt_lock' undeclared (first use in this
      ixp4xx_wdt.c:41: error: (Each undeclared identifier is reported only
      ixp4xx_wdt.c:41: error: for each function it appears in.)
      ixp4xx_wdt.c: In function 'wdt_disable':
      ixp4xx_wdt.c:52: error: 'wdt_lock' undeclared (first use in this
      ixp4xx_wdt.c: In function 'ixp4xx_wdt_init':
      ixp4xx_wdt.c:186: error: 'wdt_lock' undeclared (first use in this
      make[3]: *** [drivers/watchdog/ixp4xx_wdt.o] Error 1
      
      - at91rm9200_wdt: 2760600d
        CC      drivers/watchdog/at91rm9200_wdt.o
      at91rm9200_wdt.c:188: error: 'at91_wdt_ioctl' undeclared here (not in a
      make[3]: *** [drivers/watchdog/at91rm9200_wdt.o] Error 1
      
      - wdt285: d0e58eed
        CC [M]  drivers/watchdog/wdt285.o
      wdt285.c: In function 'footbridge_watchdog_init':
      wdt285.c:211: error: 'KERN_WARN' undeclared (first use in this function)
      wdt285.c:211: error: (Each undeclared identifier is reported only once
      wdt285.c:211: error: for each function it appears in.)
      wdt285.c:212: error: expected ')' before string constant
      make[3]: *** [drivers/watchdog/wdt285.o] Error 1
      
      And this patch from rmk:
      - s3c2410_wdt: 41dc8b72
        CC      drivers/watchdog/s3c2410_wdt.o
      s3c2410_wdt.c: In function `s3c2410wdt_start':
      s3c2410_wdt.c:161: warning: `return' with a value, in function returning void
      Reported-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8b5942c3
  9. 11 8月, 2008 1 次提交
  10. 07 8月, 2008 1 次提交
  11. 06 8月, 2008 1 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      Wim Van Sebroeck 提交于
      This brings the watchdog drivers into line with coding style.
      This patch takes cares of the indentation as described in chapter 1.
      Main changes:
      * Re-structure the ioctl switch call for all drivers as follows:
      	switch (cmd) {
      	case WDIOC_GETSUPPORT:
      	case WDIOC_GETSTATUS:
      	case WDIOC_GETBOOTSTATUS:
      	case WDIOC_GETTEMP:
      	case WDIOC_SETOPTIONS:
      	case WDIOC_KEEPALIVE:
      	case WDIOC_SETTIMEOUT:
      	case WDIOC_GETTIMEOUT:
      	case WDIOC_GETTIMELEFT:
      	default:
      	}
      
      This to make the migration from the drivers to the uniform watchdog
      device driver easier in the future.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
  12. 27 5月, 2008 1 次提交
  13. 11 4月, 2008 1 次提交
  14. 20 10月, 2007 1 次提交
  15. 18 10月, 2007 1 次提交
  16. 08 12月, 2006 1 次提交
  17. 01 12月, 2006 1 次提交
  18. 14 10月, 2006 1 次提交
  19. 03 10月, 2006 1 次提交
  20. 04 7月, 2006 1 次提交
  21. 01 7月, 2006 1 次提交
  22. 21 6月, 2006 1 次提交
  23. 03 4月, 2006 1 次提交