diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-17 19:25:03 +0800 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-20 10:40:15 +0900 |
commit | 9986b311efdc9727a5a48f03c3dac3d536fbaa74 (patch) | |
tree | 7124d9785bf210d8bc79a604ff23dd1047051366 /arch/sh/include/asm/sh7723.h | |
parent | a3e0270663a520a2cb8c7418c098676f25478d2f (diff) |
Fix debugfs_create_dir's error checking method for arch/sh/kernel/
debugfs_create_dir() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/sh7723.h')
0 files changed, 0 insertions, 0 deletions