aboutsummaryrefslogtreecommitdiff
path: root/include/sdp.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-09-16 12:14:08 -0400
committerTom Rini <trini@konsulko.com>2023-09-16 12:14:08 -0400
commit8fcd28aae590cdca86f497f1e2431f6e4af1b268 (patch)
tree3daf43bed41e1ff8eed9f8e1a020bf10319e9095 /include/sdp.h
parent2fe4b54556ea6271237b35de68dc458bfceab94c (diff)
parent2caf974b5fac69a1b778e64503f2c107a8d7c3a3 (diff)
Merge branch 'next' of git://source.denx.de/u-boot-usb into next
- Rework gadget device handling
Diffstat (limited to 'include/sdp.h')
-rw-r--r--include/sdp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sdp.h b/include/sdp.h
index 6d89baa04e..5492f9c47d 100644
--- a/include/sdp.h
+++ b/include/sdp.h
@@ -9,15 +9,15 @@
#ifndef __SDP_H_
#define __SDP_H_
-int sdp_init(int controller_index);
+int sdp_init(struct udevice *udc);
#ifdef CONFIG_SPL_BUILD
#include <spl.h>
-int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image,
+int spl_sdp_handle(struct udevice *udc, struct spl_image_info *spl_image,
struct spl_boot_device *bootdev);
#else
-int sdp_handle(int controller_index);
+int sdp_handle(struct udevice *udc);
#endif
#endif /* __SDP_H_ */