diff options
author | Johan Hovold | 2012-05-20 15:16:10 +0200 |
---|---|---|
committer | Samuel Ortiz | 2012-05-20 17:27:14 +0200 |
commit | 6090885597e6500f6671a0f7bab9e82dfa6f38be (patch) | |
tree | 099288f8157c91e469766ce404ab0be3d7f2d8f7 /drivers/mfd/twl6040-core.c | |
parent | 3770c75a6852a87afc66cd514c13899f8a288cef (diff) |
mfd: Fix return type of lm533 attribute is_visible
Since commit 587a1f1659 ("switch ->is_visible() to returning umode_t")
the return type of is_visible is umode_t rather than mode_t.
This silences a compiler warning on some architectures where these types
are not compatible.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl6040-core.c')
0 files changed, 0 insertions, 0 deletions