]> git.baikalelectronics.ru Git - kernel.git/commit
sh: dma-sysfs fixes.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 24 Nov 2006 05:43:09 +0000 (14:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:39 +0000 (10:45 +0900)
commitdc1cac695454edc4f13bc28f0be4f2ae8ea581b8
treeda62d31bd39155aa111a2655f35e14b18d807bde
parente96abc5ccb5dc587e9927229027a1701301bf325
sh: dma-sysfs fixes.

Handle the case where no registered DMACs exist somewhat more
gracefully. While we're at it, check for sysdev_create_file()
failing.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-sysfs.c