Commit e90f9ceb authored by Moritz Fischer's avatar Moritz Fischer Committed by Greg Kroah-Hartman

usb: renesas-xhci: Replace BIT(15) with macro

Replace BIT(15) with RENESAS_ROM_STATUS_ROM_EXISTS.
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20210614215614.240489-1-mdf@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7917e906
...@@ -197,7 +197,7 @@ static int renesas_check_rom_state(struct pci_dev *pdev) ...@@ -197,7 +197,7 @@ static int renesas_check_rom_state(struct pci_dev *pdev)
if (err) if (err)
return pcibios_err_to_errno(err); return pcibios_err_to_errno(err);
if (rom_state & BIT(15)) { if (rom_state & RENESAS_ROM_STATUS_ROM_EXISTS) {
/* ROM exists */ /* ROM exists */
dev_dbg(&pdev->dev, "ROM exists\n"); dev_dbg(&pdev->dev, "ROM exists\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment