media: em28xx: constify a new function
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:30:22 +0000 (04:30 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:30:22 +0000 (04:30 -0500)
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>
drivers/media/usb/em28xx/em28xx-cards.c

index 7f5d0b28cb8c5c5c544fc0ad8edc793339ddfa8f..fb42f75a3406133ddb87eb9835befd91e412d7c7 100644 (file)
@@ -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);