summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index 8b2a7171ec..848586aea7 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -817,9 +817,10 @@ void board_flip_usb_mux(int port);
/**
* Determine if in alternate mode or not.
*
+ * @param port port number.
* @return object position of mode chosen in alternate mode otherwise zero.
*/
-int pd_alt_mode(void);
+int pd_alt_mode(int port);
/**
* Send hpd over USB PD.