Em Mon, 25 Nov 2013 10:58:16 +0100 Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx> escreveu: > Move function definitions from jpeg-hw.h to jpeg-hw-s5p.c > and put function declarations in the jpeg-hw-s5p.h. > > Signed-off-by: Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx> > Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> ... > +void jpeg_reset(void __iomem *regs); > +void jpeg_poweron(void __iomem *regs); > +void jpeg_input_raw_mode(void __iomem *regs, unsigned long mode); > +void jpeg_input_raw_y16(void __iomem *regs, bool y16); > +void jpeg_proc_mode(void __iomem *regs, unsigned long mode); > +void jpeg_subsampling_mode(void __iomem *regs, unsigned int mode); > +unsigned int jpeg_get_subsampling_mode(void __iomem *regs); > +void jpeg_dri(void __iomem *regs, unsigned int dri); > +void jpeg_qtbl(void __iomem *regs, unsigned int t, unsigned int n); > +void jpeg_htbl_ac(void __iomem *regs, unsigned int t); > +void jpeg_htbl_dc(void __iomem *regs, unsigned int t); > +void jpeg_y(void __iomem *regs, unsigned int y); > +void jpeg_x(void __iomem *regs, unsigned int x); > +void jpeg_rst_int_enable(void __iomem *regs, bool enable); > +void jpeg_data_num_int_enable(void __iomem *regs, bool enable); > +void jpeg_final_mcu_num_int_enable(void __iomem *regs, bool enbl); > +void jpeg_timer_enable(void __iomem *regs, unsigned long val); > +void jpeg_timer_disable(void __iomem *regs); > +int jpeg_timer_stat(void __iomem *regs); > +void jpeg_clear_timer_stat(void __iomem *regs); > +void jpeg_enc_stream_int(void __iomem *regs, unsigned long size); > +int jpeg_enc_stream_stat(void __iomem *regs); > +void jpeg_clear_enc_stream_stat(void __iomem *regs); > +void jpeg_outform_raw(void __iomem *regs, unsigned long format); > +void jpeg_jpgadr(void __iomem *regs, unsigned long addr); > +void jpeg_imgadr(void __iomem *regs, unsigned long addr); > +void jpeg_coef(void __iomem *regs, unsigned int i, > + unsigned int j, unsigned int coef); > +void jpeg_start(void __iomem *regs); > +int jpeg_result_stat_ok(void __iomem *regs); > +int jpeg_stream_stat_ok(void __iomem *regs); > +void jpeg_clear_int(void __iomem *regs); > +unsigned int jpeg_compressed_size(void __iomem *regs); NACK. Please don't pollute Kernel name space. Those functions are specific to s5p. They should all be prepended by s5p_, or otherwise it will risk to cause conflicts with other global symbols that could have the same name, for kernels compiled will allyesconfig. Regards, -- Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html