I2C devices should be dynamically created/removed by VI driver. This
is required by making VI/CSI and V4L2 drivers as modules.
Bug
1240806
Change-Id: Ia0218ecaab18cc3df27047663177291ccdd2cc15
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/246264
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
/*
- * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
bool continuous_clk; /* For CSI port only */
};
+struct i2c_camera_ctrl {
+ int (*new_devices)(struct platform_device *pdev);
+ void (*remove_devices)(struct platform_device *pdev);
+};
#endif /* _TEGRA_CAMERA_H_ */