Merge remote-tracking branch 'asoc/fix/ab8500' into asoc-linus
[deliverable/linux.git] / include / asm-generic / ioctl.h
CommitLineData
af4cd3fe
BG
1#ifndef _ASM_GENERIC_IOCTL_H
2#define _ASM_GENERIC_IOCTL_H
3
8a1ab315 4#include <uapi/asm-generic/ioctl.h>
af4cd3fe 5
af4cd3fe
BG
6/* provoke compile error for invalid uses of size argument */
7extern unsigned int __invalid_size_argument_for_IOC;
8#define _IOC_TYPECHECK(t) \
9 ((sizeof(t) == sizeof(t[1]) && \
10 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
11 sizeof(t) : __invalid_size_argument_for_IOC)
af4cd3fe 12#endif /* _ASM_GENERIC_IOCTL_H */
This page took 0.752823 seconds and 5 git commands to generate.