1. 17 3月, 2015 1 次提交
  2. 20 10月, 2014 1 次提交
  3. 18 11月, 2013 2 次提交
    • J
      watchdog: Get rid of MODULE_ALIAS_MISCDEV statements · 487722cf
      Jean Delvare 提交于
      I just can't find any value in MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR)
      and MODULE_ALIAS_MISCDEV(TEMP_MINOR) statements.
      
      Either the device is enumerated and the driver already has a module
      alias (e.g. PCI, USB etc.) that will get the right driver loaded
      automatically.
      
      Or the device is not enumerated and loading its driver will lead to
      more or less intrusive hardware poking. Such hardware poking should be
      limited to a bare minimum, so the user should really decide which
      drivers should be tried and in what order. Trying them all in
      arbitrary order can't do any good.
      
      On top of that, loading that many drivers at once bloats the kernel
      log. Also many drivers will stay loaded afterward, bloating the output
      of "lsmod" and wasting memory. Some modules (cs5535_mfgpt which gets
      loaded as a dependency) can't even be unloaded!
      
      If defining char-major-10-130 is needed then it should happen in
      user-space.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Mike Frysinger <vapier.adi@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      487722cf
    • S
      watchdog: Remove redundant of_match_ptr · 85eee819
      Sachin Kamat 提交于
      of_match_ptr() is a macro used to avoid undefined reference error if
      CONFIG_OF is used to selectively compile in or out the
      data structure. It is defined as follows:
      
      #ifdef CONFIG_OF
      #define of_match_ptr(ptr) ptr
      #else
      #define of_match_ptr(ptr) NULL
      #endif
      
      In the case of this series, none of the drivers use CONFIG_OF macro to
      compile out the data structure (i.e., the data structure is always
      defined).
      Hence the use of of_match_ptr() does not make any sense. Thus removing
      it to make the code look simpler for readability.
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      85eee819
  4. 01 3月, 2013 1 次提交
  5. 29 11月, 2012 3 次提交
  6. 28 3月, 2012 2 次提交
  7. 23 2月, 2012 1 次提交
  8. 07 3月, 2010 1 次提交
  9. 18 6月, 2009 1 次提交
  10. 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
  11. 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
  12. 24 1月, 2009 1 次提交
  13. 27 8月, 2008 1 次提交
  14. 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
  15. 11 8月, 2008 1 次提交
  16. 07 8月, 2008 1 次提交
  17. 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
  18. 27 5月, 2008 1 次提交
  19. 11 4月, 2008 1 次提交
  20. 20 10月, 2007 1 次提交
  21. 18 10月, 2007 1 次提交
  22. 08 12月, 2006 1 次提交
  23. 01 12月, 2006 1 次提交
  24. 14 10月, 2006 1 次提交
  25. 03 10月, 2006 1 次提交
  26. 04 7月, 2006 1 次提交
  27. 01 7月, 2006 1 次提交
  28. 21 6月, 2006 1 次提交
  29. 03 4月, 2006 1 次提交