diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-06-06 14:22:41 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-06-07 09:43:54 +0200 |
commit | e9b4cf2094a65a05a831f070e46c554260632330 (patch) | |
tree | 51a8a420ba19dfe1a9abfaa4d3cf109a8c4e199f /drivers/crypto/picoxcell_crypto.c | |
parent | Linux 3.5-rc1 (diff) | |
download | linux-e9b4cf2094a65a05a831f070e46c554260632330.tar.xz linux-e9b4cf2094a65a05a831f070e46c554260632330.zip |
UBI: fix debugfs-less systems support
Commit "aa44d1d UBI: remove Kconfig debugging option" broke UBI and it
refuses to initialize if debugfs (CONFIG_DEBUG_FS) is disabled. I incorrectly
assumed that debugfs files creation function will return success if debugfs
is disabled, but they actually return -ENODEV. This patch fixes the issue.
Reported-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
Diffstat (limited to 'drivers/crypto/picoxcell_crypto.c')
0 files changed, 0 insertions, 0 deletions