mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
PCI/x86: write_pci_config_byte fix offset
also add write_pci_config_16 Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
25e18499e0
commit
e7891c733f
2 changed files with 9 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
|
|||
extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
|
||||
extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);
|
||||
extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
|
||||
extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
|
||||
|
||||
extern int early_pci_allowed(void);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue