summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-02 22:05:03 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:52 -0500
commit8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch)
tree189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/blackfin
parentd759be8953febb6e5b5376c7d9bbf568864c6e2d (diff)
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/uapi/asm/poll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/uapi/asm/poll.h b/arch/blackfin/include/uapi/asm/poll.h
index 8b094d43e9b7..961e49056b0a 100644
--- a/arch/blackfin/include/uapi/asm/poll.h
+++ b/arch/blackfin/include/uapi/asm/poll.h
@@ -9,8 +9,8 @@
#ifndef _UAPI__BFIN_POLL_H
#define _UAPI__BFIN_POLL_H
-#define POLLWRNORM 4 /* POLLOUT */
-#define POLLWRBAND 256
+#define POLLWRNORM (__force __poll_t)4 /* POLLOUT */
+#define POLLWRBAND (__force __poll_t)256
#include <asm-generic/poll.h>