summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2018-03-06 10:30:22 +0100
committerMauro Carvalho Chehab2018-03-06 10:30:22 +0100
commit0eeb232f5aadc2e258e3963aeacaf405ca842e78 (patch)
tree35cfac2ff4fb50905bc7f54da86db925942c5935
parentmedia: em28xx: Hauppauge DualHD second tuner functionality (diff)
downloadkernel-qcow2-linux-0eeb232f5aadc2e258e3963aeacaf405ca842e78.tar.gz
kernel-qcow2-linux-0eeb232f5aadc2e258e3963aeacaf405ca842e78.tar.xz
kernel-qcow2-linux-0eeb232f5aadc2e258e3963aeacaf405ca842e78.zip
media: em28xx: constify a new function
em28xx_duplicate_dev() is static. This were supposed to be merged on the last patch, but somehow, I forgot "-a" when I called git commit --amend. Fixes: be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality") Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/usb/em28xx/em28xx-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c
index 7f5d0b28cb8c..fb42f75a3406 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -3435,7 +3435,7 @@ static int em28xx_init_dev(struct em28xx *dev, struct usb_device *udev,
return 0;
}
-int em28xx_duplicate_dev(struct em28xx *dev)
+static int em28xx_duplicate_dev(struct em28xx *dev)
{
int nr;
struct em28xx *sec_dev = kzalloc(sizeof(*sec_dev), GFP_KERNEL);