Remove needless PCI_DEVICE_ID definition from uio_cif.c
PATCH 1/1 Remove needless PCI_DEVICE_ID definition from uio_cif.c
From: Hans J. Koch <[email protected]>
CC: Greg Kroah-Hartman <[email protected]>
CC: Benedikt Spranger <[email protected]>
Subject: Remove needless PCI_DEVICE_ID definition from uio_cif.c
Date: Sun, 03 Feb 2008 01:37:58 +0100
Meanwhile, PCI_DEVICE_ID_PLX_9030 is defined in pci_ids.h, no need to define it again in the driver.
--- drivers/uio/uio_cif.c | 4 ---- 1 file changed, 4 deletions(-)
Index: linux-2.6.25-rc/drivers/uio/uio_cif.c
===================================================================
--- linux-2.6.25-rc.orig/drivers/uio/uio_cif.c 2008-02-03
01:29:55.000000000 +0100 +++linux-2.6.25-rc/drivers/uio/uio_cif.c 2008-02-03
01:31:00.000000000 +0100 @@ -15,10 +15,6 @@
#include <asm/io.h>
-#ifndef PCI_DEVICE_ID_PLX_9030
-#define PCI_DEVICE_ID_PLX_9030 0x9030
-#endif
-
#define PLX9030_INTCSR 0x4C
#define INTSCR_INT1_ENABLE 0x01
#define INTSCR_INT1_STATUS 0x04