drivers/pci: fix typo addres -> address
fix typo addres -> address Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
74ba2d2219
commit
60636c4666
3 changed files with 6 additions and 6 deletions
|
@ -55,19 +55,19 @@
|
|||
#define NRF91_SHMEM_TRACE_SIZE (CONFIG_NRF91_MODEM_SHMEM_TRACE_SIZE)
|
||||
|
||||
#if !(NRF91_SHMEM_CTRL_BASE % 4 == 0)
|
||||
# error SHMEM base addres must be word-aligned (4 bytes)
|
||||
# error SHMEM base address must be word-aligned (4 bytes)
|
||||
#endif
|
||||
|
||||
#if !(NRF91_SHMEM_TX_BASE % 4 == 0)
|
||||
# error SHMEM base addres must be word-aligned (4 bytes)
|
||||
# error SHMEM base address must be word-aligned (4 bytes)
|
||||
#endif
|
||||
|
||||
#if !(NRF91_SHMEM_RX_BASE % 4 == 0)
|
||||
# error SHMEM base addres must be word-aligned (4 bytes)
|
||||
# error SHMEM base address must be word-aligned (4 bytes)
|
||||
#endif
|
||||
|
||||
#if !(NRF91_SHMEM_TRACE_BASE % 4 == 0)
|
||||
# error SHMEM base addres must be word-aligned (4 bytes)
|
||||
# error SHMEM base address must be word-aligned (4 bytes)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -105,7 +105,7 @@ static inline uintptr_t mmu_pte_to_paddr(uintptr_t pte)
|
|||
{
|
||||
paddr = pte;
|
||||
|
||||
/* Get page addres - remove flags */
|
||||
/* Get page address - remove flags */
|
||||
|
||||
paddr &= 0x0dfffffffffff000;
|
||||
}
|
||||
|
|
|
@ -638,7 +638,7 @@ static void pci_register_bus_devices(FAR struct pci_bus_s *bus)
|
|||
* Input Parameters:
|
||||
* base - PCI address base address
|
||||
* maxbase - PCI max base address
|
||||
* mask - PCI addres mask
|
||||
* mask - PCI address mask
|
||||
*
|
||||
* Returned Value:
|
||||
* Return the size result
|
||||
|
|
Loading…
Reference in a new issue