- 06 8月, 2008 2 次提交
-
-
由 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>
-
由 Wim Van Sebroeck 提交于
Use #include <linux/io.h> instead of <asm/io.h> Use #include <linux/uaccess.h> instead of <asm/uaccess.h> Clean-up includes. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 21 6月, 2008 1 次提交
-
-
由 Alan Cox 提交于
Review and switch to unlocked_ioctl Signed-off-by: NAlan Cox <alan@redhat.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 11 4月, 2008 1 次提交
-
-
由 Kay Sievers 提交于
Since 43cc71ee, the platform modalias is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable watchdog drivers, to re-enable auto loading. [dbrownell@users.sourceforge.net: more drivers; registration fixes] Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: Greg KH <greg@kroah.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 03 11月, 2007 1 次提交
-
-
由 Alexey Dobriyan 提交于
Some watchdog drivers initialize global spinlocks in module's init function which is tolerable, but some do it in PCI probe function. So, switch to static initialization to fix theoretical bugs and, more importantly, stop giving people bad examples. Signed-off-by: NAlexey Dobriyan <adobriyan@sw.ru> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
-
- 25 10月, 2007 1 次提交
-
-
由 Florian Fainelli 提交于
This patch fixes two returns in the TI Davinci and PNX4008 in void functions. Signed-off-by: NFlorian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 18 10月, 2007 1 次提交
-
-
由 Wim Van Sebroeck 提交于
move watchdog tree from drivers/char/watchdog to drivers/watchdog. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 03 6月, 2007 1 次提交
-
-
由 Robert P. J. Day 提交于
Given that the open routine already calls nonseekable_open(), remove the redundant check for pwrite(). Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 13 2月, 2007 1 次提交
-
-
由 Arjan van de Ven 提交于
Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accidental writes at compile time to these shared resources. Signed-off-by: NArjan van de Ven <arjan@linux.intel.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 20 12月, 2006 1 次提交
-
-
由 Akinobu Mita 提交于
The return value of clk_get() should be checked by IS_ERR(). Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
- 04 10月, 2006 2 次提交
-
-
由 Dave Jones 提交于
kbuild explicitly includes this at build time. Signed-off-by: NDave Jones <davej@redhat.com>
-
由 Wim Van Sebroeck 提交于
Return ENOTTY instead of ENOIOCTLCMD in user-visible ioctl() results The watchdog drivers used to return ENOIOCTLCMD for bad ioctl() commands. ENOIOCTLCMD should not be visible by the user, so use ENOTTY instead. Signed-off-by: NSamuel Tardieu <sam@rfc1149.net> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Acked-by: NAlan Cox <alan@redhat.com> Signed-off-by: NAndrew Morton <akpm@osdl.org>
-
- 03 10月, 2006 5 次提交
-
-
由 Vitaly Wool 提交于
Added cpu_relax as suggested by Alan Cox. Signed-off-by: NVitaly Wool <vitalywool@gmail.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Add io spinlocks to prevent possible race conditions between start and stop operations that are issued from different child processes where the master process opened /dev/watchdog. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Change remove code so that we first detach the driver from userspace, then clean up the clock and then clean up the memory we allocated. Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Wim Van Sebroeck 提交于
Change nowayout to: WATCHDOG_NOWAYOUT as defined in include/linux/watchdog.h . Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-
由 Vitaly Wool 提交于
Add watchdog support for Philips PNX4008 ARM board inlined. Signed-off-by: NVitaly Wool <vitalywool@gmail.com> Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
-