diff options
| author | Marek Vasut <[email protected]> | 2019-03-25 11:40:56 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2019-04-04 10:48:42 +0000 |
| commit | b2c615457b2891931d3e1eec5edf4b8b380e48fb (patch) | |
| tree | e7c20b7e91425bd2b8838aa2633c0754a20e5d84 /drivers/pci/controller/pcie-rcar.c | |
| parent | Linux 5.1-rc1 (diff) | |
| download | kernel-b2c615457b2891931d3e1eec5edf4b8b380e48fb.tar.gz kernel-b2c615457b2891931d3e1eec5edf4b8b380e48fb.zip | |
PCI: rcar: Clean up remaining macros defining bits
Replace macros using constants with BIT()s instead, no functional change.
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Phil Edworthy <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: [email protected]
To: [email protected]
Diffstat (limited to 'drivers/pci/controller/pcie-rcar.c')
| -rw-r--r-- | drivers/pci/controller/pcie-rcar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/controller/pcie-rcar.c b/drivers/pci/controller/pcie-rcar.c index c8febb009454..5b8736f0cd6b 100644 --- a/drivers/pci/controller/pcie-rcar.c +++ b/drivers/pci/controller/pcie-rcar.c @@ -46,14 +46,14 @@ /* Transfer control */ #define PCIETCTLR 0x02000 -#define CFINIT 1 +#define CFINIT BIT(0) #define PCIETSTR 0x02004 -#define DATA_LINK_ACTIVE 1 +#define DATA_LINK_ACTIVE BIT(0) #define PCIEERRFR 0x02020 #define UNSUPPORTED_REQUEST BIT(4) #define PCIEMSIFR 0x02044 #define PCIEMSIALR 0x02048 -#define MSIFE 1 +#define MSIFE BIT(0) #define PCIEMSIAUR 0x0204c #define PCIEMSIIER 0x02050 |
