diff options
author | Tom Rix <trix@redhat.com> | 2022-03-22 15:46:48 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-03-30 06:00:59 +0200 |
commit | 37a9bd7090cdf6657ced3f693897819a66ee8d52 (patch) | |
tree | 0390e6b8495b02c1009501ed96901e89390a3ebe /drivers/scsi/aic7xxx/aic7xxx_osm.h | |
parent | scsi: ufs: qcom: Drop custom Android boot parameters (diff) | |
download | linux-37a9bd7090cdf6657ced3f693897819a66ee8d52.tar.xz linux-37a9bd7090cdf6657ced3f693897819a66ee8d52.zip |
scsi: aic7xxx: Use standard PCI subsystem, subdevice defines
Common defines should be used over custom defines.
Change and remove these defines:
- PCIR_SUBVEND_0 to PCI_SUBSYSTEM_VENDOR_ID
- PCIR_SUBDEV_0 to PCI_SUBSYSTEM_ID
Link: https://lore.kernel.org/r/20220322144648.2467777-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index 4782a304e93c..51d9f4de0734 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h @@ -433,8 +433,6 @@ ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) /* config registers for header type 0 devices */ #define PCIR_MAPS 0x10 -#define PCIR_SUBVEND_0 0x2c -#define PCIR_SUBDEV_0 0x2e typedef enum { |