]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
ftwdt010_wdt: move header to include/faraday and enhance
authorMacpaul Lin <macpaul@andestech.com>
Tue, 12 Apr 2011 05:04:02 +0000 (13:04 +0800)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Apr 2011 20:58:33 +0000 (22:58 +0200)
commit04c2dd827b5887561b182653e47545d19b934c46
treeb2a40a7200e397a8ea91325221460839cfa8e7d0
parent418e046d8931a60986d02a47bf095ca78dcdccaf
ftwdt010_wdt: move header to include/faraday and enhance

1. Move header to include/faraday
2. Fix include path in ftwdt010_wdt.c
3. Fix function prototype and declaration to
  - ftwdt010_wdt_settimeout
  - ftwdt010_wdt_reset
  - ftwdt010_wdt_disable
4. Add "#if definde (CONFIG_HW_WATCHDOG)" let user have flexibilty
  to choose which better to his product.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
drivers/watchdog/ftwdt010_wdt.c
include/faraday/ftwdt010_wdt.h [moved from drivers/watchdog/ftwdt010_wdt.h with 98% similarity]