mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
3c7c9370fb
The core.s_config op was meant for legacy drivers that needed to work with old pre-2.6.26 kernels. This is no longer relevant. Unfortunately, this op was incorrectly called from several drivers. Replace those occurences with proper i2c_board_info structs and call v4l2_i2c_new_subdev_board. After these changes v4l2_i2c_new_subdev_cfg() was no longer used, so remove that function as well. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
18 lines
384 B
C
18 lines
384 B
C
/* mt9v011 sensor
|
|
*
|
|
* Copyright (C) 2011 Hans Verkuil <hverkuil@xs4all.nl>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __MT9V011_H__
|
|
#define __MT9V011_H__
|
|
|
|
struct mt9v011_platform_data {
|
|
unsigned xtal; /* Hz */
|
|
};
|
|
|
|
#endif
|