summaryrefslogtreecommitdiff
path: root/include/linux/mfd/ntxec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/ntxec.h')
-rw-r--r--include/linux/mfd/ntxec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/ntxec.h b/include/linux/mfd/ntxec.h
index 26ab3b8eb612..cc6f07bfa2b3 100644
--- a/include/linux/mfd/ntxec.h
+++ b/include/linux/mfd/ntxec.h
@@ -26,7 +26,7 @@ struct ntxec {
* This convenience function converts an 8-bit value to 16-bit for use in the
* second kind of register.
*/
-static inline __be16 ntxec_reg8(u8 value)
+static inline u16 ntxec_reg8(u8 value)
{
return value << 8;
}