This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: em28xx: constify a new function
Author:  Mauro Carvalho Chehab <mche...@s-opensource.com>
Date:    Tue Mar 6 04:30:22 2018 -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 <mche...@s-opensource.com>

 drivers/media/usb/em28xx/em28xx-cards.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

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);

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to