Skip to content

Commit aeb98d9

Browse files
lipengfei28xiaoxiang781216
authored andcommitted
fix Compile error
Signed-off-by: lipengfei28 <[email protected]>
1 parent 5c119b4 commit aeb98d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ static void pci_setup_device(FAR struct pci_device_s *dev, int max_bar,
751751
start = res->start;
752752
res->start += size;
753753
#else
754+
UNUSED(res);
754755
uint32_t tmp;
755756

756757
pci_read_config_dword(dev, base_address_0, &tmp);

0 commit comments

Comments
 (0)