summaryrefslogtreecommitdiff
path: root/cmd/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/pci.c')
-rw-r--r--cmd/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/pci.c b/cmd/pci.c
index b2174e2a9ca..f91a4eb8ed0 100644
--- a/cmd/pci.c
+++ b/cmd/pci.c
@@ -656,7 +656,7 @@ static void pci_show_regions(struct udevice *bus)
* pci modify[.b, .w, .l] bus.device.function [addr]
* pci write[.b, .w, .l] bus.device.function addr value
*/
-static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
ulong addr = 0, value = 0, cmd_size = 0;
enum pci_size_t size = PCI_SIZE_32;