+ nvidiafb-remove-redundant-config_pci-check.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     nvidiafb: remove redundant CONFIG_PCI check

has been added to the -mm tree.  Its filename is

     nvidiafb-remove-redundant-config_pci-check.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: nvidiafb: remove redundant CONFIG_PCI check
From: Arthur Othieno <apgo@xxxxxxxxxxxxx>

CONFIG_FB_NVIDIA already depends on CONFIG_PCI in drivers/video/Kconfig. 
Driver does an extra ``sanity check'' which is then redundant.

Signed-off-by: Arthur Othieno <apgo@xxxxxxxxxxxxx>
Cc: Antonino Daplas <adaplas@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/video/nvidia/nvidia.c |    4 ----
 1 file changed, 4 deletions(-)

diff -puN drivers/video/nvidia/nvidia.c~nvidiafb-remove-redundant-config_pci-check drivers/video/nvidia/nvidia.c
--- a/drivers/video/nvidia/nvidia.c~nvidiafb-remove-redundant-config_pci-check
+++ a/drivers/video/nvidia/nvidia.c
@@ -34,10 +34,6 @@
 #include "nv_proto.h"
 #include "nv_dma.h"
 
-#ifndef CONFIG_PCI		/* sanity check */
-#error This driver requires PCI support.
-#endif
-
 #undef CONFIG_FB_NVIDIA_DEBUG
 #ifdef CONFIG_FB_NVIDIA_DEBUG
 #define NVTRACE          printk
_

Patches currently in -mm which might be from apgo@xxxxxxxxxxxxx are

i386-make-config_efi-depend-on-experimental.patch
nvidiafb-remove-redundant-config_pci-check.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux