diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-02-01 09:11:21 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-12 05:24:45 -0500 |
commit | 5b3084b5823339ac7bebca0701b9b89defe11c91 (patch) | |
tree | 980139dfb4da99ee601535be70c67530fc028837 /arch | |
parent | 5f5e3236954af2ce855bc70b253e665392e93d1b (diff) |
microblaze: Add missing return from debugfs_tlb
Function must return any value.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 954348f83505..686b6ba09d92 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c | |||
@@ -216,6 +216,8 @@ static int __init debugfs_tlb(void) | |||
216 | d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip); | 216 | d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip); |
217 | if (!d) | 217 | if (!d) |
218 | return -ENOMEM; | 218 | return -ENOMEM; |
219 | |||
220 | return 0; | ||
219 | } | 221 | } |
220 | device_initcall(debugfs_tlb); | 222 | device_initcall(debugfs_tlb); |
221 | # endif | 223 | # endif |