ARM:S5PV210: version merging compiling issue for 'struct fimc_source_info'
Hello Kukjin Kim:
it is a compiling issue, please help check when you have time.
thanks.
gchen.
in arch/arm/mach-s5pv210/mach-goni.c:848:
error: unknown field 'bus_type' specified in initializer
843 static struct fimc_source_info goni_camera_sensors[] = {
844 {
845 .mux_id = 0, 846 .flags = V4L2_MBUS_PCLK_SAMPLE_FALLING | 847 V4L2_MBUS_VSYNC_ACTIVE_LOW, 848 .bus_type = FIMC_BUS_TYPE_ITU_601, 849 .board_info = &noon010pc30_board_info, 850 .i2c_bus_num = 0, 851 .clk_frequency = 16000000UL,
852 },
853 };
in include/media/s5p_fimc.h:50
37 /**
38 * struct fimc_source_info - video source description required for the host
39 * interface configuration
40 *
41 * @board_info: pointer to I2C subdevice's board info
42 * @clk_frequency: frequency of the clock the host interface provides to sensor
43 * @fimc_bus_type: FIMC camera input type
44 * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
45 * @flags: the parallel sensor bus flags defining signals polarity (V4L2_MBUS_*)
46 * @i2c_bus_num: i2c control bus id the sensor is attached to
47 * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU)
48 * @clk_id: index of the SoC peripheral clock for sensors
49 */
50 struct fimc_source_info {
51 struct i2c_board_info *board_info;
52 unsigned long clk_frequency;
53 enum fimc_bus_type fimc_bus_type;
54 enum fimc_bus_type sensor_bus_type;
55 u16 flags;
56 u16 i2c_bus_num;
57 u16 mux_id;
58 u8 clk_id; 59 };
60
A message that is not in the archive (sent off-list or not yet received): CAH9JG2WS5q4SR8zk5=OC32PHLZ2+ZYva7csyshG7oANacqbCuA@mail.gmail.com
? 2013?02?16? 19:39, Kyungmin Park ??:
Quoted 3 lines
You can find it at recent patch from Arnd.
thanks.
:-)
Signature · 3 lines
Chen Gang Asianux Corporation
? 2013?02?16? 19:39, Kyungmin Park ??:
Quoted 4 lines
Hi,
You can find it at recent patch from Arnd.
excuse me, could you please provide more information about it ?
I have checked 2 tags:
the next-20130225 tag in git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
in Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab git number: 56bc911ac3b94c731db3a6de20258827f1a61c20
in include/media/s5p_fimc.h, the structure fimc_source_info is changed. in arch/arm/mach-s5pv210/mach-goni.c, the structure fimc_source_info is not changed.
still use .bus_type (not use .fimc_bus_type like others).
it seems, the relative members forgot to change it to .fimc_bus_type.
did the patch from Arnd still not applied into next tree ?
the v3.8-rc7 tag in git clone git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
it seems no relative changes (change nothing).
thanks.
:-)
gchen.
Quoted 66 lines
Thank you,
Kyungmin ParkOn Saturday, February 16, 2013, Chen Gang wrote:
Hello Kukjin Kim: ? it is a compiling issue, please help check when you have time. thanks. gchen. in arch/arm/mach-s5pv210/mach-goni.c:848: ? error: unknown field 'bus_type' specified in initializer 843 static struct fimc_source_info goni_camera_sensors[] = { 844 ? ? ? ? { 845 ? ? ? ? ? ? ? ? .mux_id ? ? ? ? = 0, 846 ? ? ? ? ? ? ? ? .flags ? ? ? ? ?= V4L2_MBUS_PCLK_SAMPLE_FALLING | 847 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V4L2_MBUS_VSYNC_ACTIVE_LOW, 848 ? ? ? ? ? ? ? ? .bus_type ? ? ? = FIMC_BUS_TYPE_ITU_601, 849 ? ? ? ? ? ? ? ? .board_info ? ? = &noon010pc30_board_info, 850 ? ? ? ? ? ? ? ? .i2c_bus_num ? ?= 0, 851 ? ? ? ? ? ? ? ? .clk_frequency ?= 16000000UL, 852 ? ? ? ? }, 853 }; in include/media/s5p_fimc.h:50 ?37 /** ?38 ?* struct fimc_source_info - video source description required for the host ?39 ?* ? ? ? ? ? ? ? ? ? ? ? ? ? interface configuration ?40 ?* ?41 ?* @board_info: pointer to I2C subdevice's board info ?42 ?* @clk_frequency: frequency of the clock the host interface provides to sensor ?43 ?* @fimc_bus_type: FIMC camera input type ?44 ?* @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc. ?45 ?* @flags: the parallel sensor bus flags defining signals polarity (V4L2_MBUS_*) ?46 ?* @i2c_bus_num: i2c control bus id the sensor is attached to ?47 ?* @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU) ?48 ?* @clk_id: index of the SoC peripheral clock for sensors ?49 ?*/ ?50 struct fimc_source_info { ?51 ? ? ? ? struct i2c_board_info *board_info; ?52 ? ? ? ? unsigned long clk_frequency; ?53 ? ? ? ? enum fimc_bus_type fimc_bus_type; ?54 ? ? ? ? enum fimc_bus_type sensor_bus_type; ?55 ? ? ? ? u16 flags; ?56 ? ? ? ? u16 i2c_bus_num; ?57 ? ? ? ? u16 mux_id; ?58 ? ? ? ? u8 clk_id; ?59 }; ?60 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org <javascript:;> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 3 lines
Chen Gang Asianux Corporation
Hi,
Quoted 14 lines · Chen Gang
? 2013?02?16? 19:39, Kyungmin Park ??:
Quoted 1 line
You can find it at recent patch from Arnd.
excuse me, could you please provide more information about it ?
I have checked 2 tags:
the next-20130225 tag ingit://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.gitin Feb 1 2013, by Sylwester Nawrocki, Kyungmin Park, Mauro Carvalho Chehab git number:
56bc911ac3b94c731db3a6de20258827f1a61c20
ininclude/media/s5p_fimc.h, the structurefimc_source_infois changed. inarch/arm/mach-s5pv210/mach-goni.c, the structurefimc_source_infois not changed.
still use .bus_type (not use .fimc_bus_type like others).
Quoted 6 lines
it seems, the relative members forgot to change it to .fimc_bus_type.
did the patch from Arnd still not applied into next tree ?
the v3.8-rc7 tag in git clone
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
it seems no relative changes (change nothing).
No, the fix is not yet in linux-next. I has not been merged through the media tree and it might take some time until it gets to Linus's tree now. You can use one of following patches to fix this build break:
http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
https://patchwork.kernel.org/patch/2143211
http://patchwork.linuxtv.org/patch/16892
Kgene, could you push any of these fixes upstream ?
Thanks,
Sylwester
? 2013?02?26? 17:50, Sylwester Nawrocki ??:
Quoted 7 lines
No, the fix is not yet in linux-next. I has not been merged through the media tree and it might take some time until it gets to Linus's tree now. You can use one of following patches to fix this build break:
http://www.spinics.net/lists/linux-samsung-soc/msg16023.html
https://patchwork.kernel.org/patch/2143211
http://patchwork.linuxtv.org/patch/16892
thank you.
:-)
Signature · 3 lines
Chen Gang Asianux Corporation