diff options
author | Puranjay Mohan <puranjay12@gmail.com> | 2019-06-21 21:10:35 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-26 13:05:42 -0700 |
commit | f8da5dac7e5eebb8da93829eeb988cc37410c9e6 (patch) | |
tree | 23fc1a7956502dea6667f85f770c5fed702beb05 /drivers/net/fddi/skfp/drvfbi.c | |
parent | a8b79105239d3aecdf4942f7e53a14e0842dd5d2 (diff) | |
download | linux-f8da5dac7e5eebb8da93829eeb988cc37410c9e6.tar.gz linux-f8da5dac7e5eebb8da93829eeb988cc37410c9e6.tar.bz2 linux-f8da5dac7e5eebb8da93829eeb988cc37410c9e6.zip |
net: fddi: skfp: Rename local PCI defines to match generic PCI defines
Rename the PCI_REV_ID and other local defines to Generic PCI define names
in skfbi.h and drvfbi.c to make it compatible with the pci_regs.h.
Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp/drvfbi.c')
-rw-r--r-- | drivers/net/fddi/skfp/drvfbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/drvfbi.c b/drivers/net/fddi/skfp/drvfbi.c index bdd5700e71fa..b324c1acf195 100644 --- a/drivers/net/fddi/skfp/drvfbi.c +++ b/drivers/net/fddi/skfp/drvfbi.c @@ -127,7 +127,7 @@ static void card_start(struct s_smc *smc) * at very first before any other initialization functions is * executed. */ - rev_id = inp(PCI_C(PCI_REV_ID)) ; + rev_id = inp(PCI_C(PCI_REVISION_ID)) ; if ((rev_id & 0xf0) == SK_ML_ID_1 || (rev_id & 0xf0) == SK_ML_ID_2) { smc->hw.hw_is_64bit = TRUE ; } else { |