让老内核支持uvcvideo.拜托大家帮我看看。
但是编译出现了问题
drivers/media/video/uvc/uvc_ctrl.c:246: error: `V4L2_CID_SHARPNESS' undeclared here (not in a function)
drivers/media/video/uvc/uvc_ctrl.c:246: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:246: error: (near initialization for `uvc_ctrl_mappings[4].id')
drivers/media/video/uvc/uvc_ctrl.c:248: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:248: error: (near initialization for `uvc_ctrl_mappings[4].entity')
drivers/media/video/uvc/uvc_ctrl.c:254: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:254: error: (near initialization for `uvc_ctrl_mappings[4]')
drivers/media/video/uvc/uvc_ctrl.c:258: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:258: error: (near initialization for `uvc_ctrl_mappings[5].entity')
drivers/media/video/uvc/uvc_ctrl.c:264: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:264: error: (near initialization for `uvc_ctrl_mappings[5]')
drivers/media/video/uvc/uvc_ctrl.c:266: error: `V4L2_CID_BACKLIGHT_COMPENSATION' undeclared here (not in a function)
drivers/media/video/uvc/uvc_ctrl.c:266: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:266: error: (near initialization for `uvc_ctrl_mappings[6].id')
drivers/media/video/uvc/uvc_ctrl.c:268: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:268: error: (near initialization for `uvc_ctrl_mappings[6].entity')
drivers/media/video/uvc/uvc_ctrl.c:274: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:274: error: (near initialization for `uvc_ctrl_mappings[6]')
drivers/media/video/uvc/uvc_ctrl.c:278: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:278: error: (near initialization for `uvc_ctrl_mappings[7].entity')
drivers/media/video/uvc/uvc_ctrl.c:284: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:284: error: (near initialization for `uvc_ctrl_mappings[7]')
drivers/media/video/uvc/uvc_ctrl.c:286: error: `V4L2_CID_POWER_LINE_FREQUENCY' undeclared here (not in a function)
drivers/media/video/uvc/uvc_ctrl.c:286: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:286: error: (near initialization for `uvc_ctrl_mappings[8].id')
drivers/media/video/uvc/uvc_ctrl.c:288: error: initializer element is not constant
drivers/media/video/uvc/uvc_ctrl.c:288: error: (near initialization for `uvc_ctrl_mappings[8].entity')
drivers/media/video/uvc/uvc_ctrl.c:296: error: initializer element is not constant
不知道怎么能让2.6.24内核支持uvcvideo.
因为arm板子的初始版本是这个,要是从新移植内核怕问题更多,所以请问怎么能让老内核支持uvc呢?.