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

Subject: media: atomisp: Don't use ifdef ISP2400
Author:  Hans de Goede <[email protected]>
Date:    Sun Jan 16 22:51:57 2022 +0100

IPS2400 is never defined, for ISP2401 builds ISP2401 gets defined and
for ISP2400 nothing gets defined, so any #ifdef ISP2400 checks should
be #ifndef ISP2401 checks instead.

Link: 
https://lore.kernel.org/linux-media/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c 
b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
index 1b240891a6e2..52a367feaeee 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c
@@ -1467,7 +1467,7 @@ static bool is_valid_device(struct pci_dev *pdev, const 
struct pci_device_id *id
         * remove the if once the driver become generic
         */
 
-#if defined(ISP2400)
+#ifndef ISP2401
        if (IS_ISP2401) {
                dev_err(&pdev->dev, "Support for %s (ISP2401) was disabled at 
compile time\n",
                        name);

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to