memory hotplug: fix invalid memory access caused by stale kswapd pointer
[firefly-linux-kernel-4.4.55.git] / include / linux / videodev2.h
index 8a4c309d23444450a13a9e675cdc51e4a14376f4..eeeda13b4d53c85e16e4dd5dac103c5eeb3c7392 100644 (file)
@@ -1075,6 +1075,7 @@ struct v4l2_querymenu {
 #define V4L2_CTRL_FLAG_NEXT_CTRL       0x80000000
 
 /*  User-class control IDs defined by V4L2 */
+#define V4L2_CID_MAX_CTRLS             1024
 #define V4L2_CID_BASE                  (V4L2_CTRL_CLASS_USER | 0x900)
 #define V4L2_CID_USER_BASE             V4L2_CID_BASE
 /*  IDs reserved for driver specific controls */