]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: mt7621-pci: use PCI definitions instead of hardcode values
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 7 Jan 2019 19:31:43 +0000 (20:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jan 2019 15:08:36 +0000 (16:08 +0100)
commit7c106cbb2ba8c86bedd2868b690aee8965476b3b
treeabd1deced3699dc904303d65b1f7cde89cc0a113
parent0a54ea9f481f1a2ca5a171e91ddaacb75040f287
staging: mt7621-pci: use PCI definitions instead of hardcode values

Seting up ports to enable PCI_COMMAND_MASTER is using '0x4' as a
hardcore value and '0x4' also for PCI_COMMAND register instead
of use definitions from linux pci system headers. Replace both.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c