summaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-24 19:33:40 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 03:51:17 (GMT)
commitf2466d63a51db8244d3e78a4e6210d72a8930cfb (patch)
tree68b52c91d61f9067b4227b5d02e006ab55bdd49f /net/9p
parentd7d93387421b52f8c9240ce82b368ad34bb40cd8 (diff)
downloadlinux-f2466d63a51db8244d3e78a4e6210d72a8930cfb.tar.xz
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>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions