linux/drivers/staging/cx25821
Mauro Carvalho Chehab f2466d63a5 V4L/DVB: cx25821: prepend cx25821_ to video exported symbols
As reported by Randy Dunlap <randy.dunlap@oracle.com>:
drivers/staging/cx25821/cx25821-video.c:89:struct cx25821_fmt *format_by_fourcc(unsigned int fourcc)
(not static)

conflicts with (has the same non-static name as)

drivers/media/common/saa7146_video.c:87:struct saa7146_format* format_by_fourcc(struct saa7146_dev *dev, int fourcc)

To solve, add cx25821_ prefix to the exported functions found on cx25821-video.h.

This patch were generated by this little shell/perl script:

cat drivers/staging/cx25821/cx25821-video.h|perl -ne \
'if (m/extern.* ([^\s\*]+)\(/) { $n=$1; print "s/([^\d\w_\.])$1/\\1cx25821_$1/g;\n" if (!($n =~ m/cx25821/)); }' \
>changes; for i in drivers/staging/cx25821/*.[ch]; do sed -r -f changes $i >a && mv a $i; done

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Palash Bandyopadhyay <palash.bandyopadhyay@conexant.com>
2010-05-18 00:51:17 -03:00
..
cx25821-alsa.c V4L/DVB: Staging: cx25821: fix coding style issues in cx25821-alsa.c 2010-05-18 00:47:18 -03:00
cx25821-audio-upstream.c V4L/DVB: cx25821-audio-upstream.c: Fixed some checkpatch.pl warnings/errors 2010-05-18 00:51:02 -03:00
cx25821-audio-upstream.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-audio.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-audups11.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-biffuncs.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-cards.c V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-core.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-gpio.c V4L/DVB: cx25821: fix coding style issues in cx25821-gpio.c 2010-05-18 00:51:14 -03:00
cx25821-gpio.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-i2c.c V4L/DVB: cx25821: fix coding style issues in cx25821-i2c.c 2010-05-18 00:51:15 -03:00
cx25821-medusa-defines.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-medusa-reg.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-medusa-video.c V4L/DVB: cx25821: fix coding style issues in cx25821-medusa-video.c 2010-05-18 00:51:14 -03:00
cx25821-medusa-video.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-reg.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-sram.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-video-upstream-ch2.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx25821-video-upstream-ch2.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-video-upstream.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cx25821-video-upstream.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
cx25821-video.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video.h V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video0.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video1.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video2.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video3.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video4.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video5.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video6.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-video7.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-videoioctl.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-vidups9.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821-vidups10.c V4L/DVB: cx25821: prepend cx25821_ to video exported symbols 2010-05-18 00:51:17 -03:00
cx25821.h V4L/DVB (12733): cx25821: some CodingStyle fixes 2009-09-18 23:47:38 -03:00
Kconfig V4L/DVB (12732): cx25821: fix bad whitespacing 2009-09-18 23:47:37 -03:00
Makefile V4L/DVB (12851): cx25821/Makefile: Cleanup 2009-09-19 00:13:35 -03:00
README V4L/DVB (12847): cx25821: Add README with todo list 2009-09-19 00:13:32 -03:00

Todo:
	- checkpatch.pl cleanups
	- sparse cleanups

Please send patches to linux-media@vger.kernel.org