summaryrefslogtreecommitdiff
path: root/driver/pi3usb9281.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-01-03 17:59:07 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-03 22:43:02 -0800
commiteb781cc377fe8c5c2d1cb266b599c24e5e4e8cd5 (patch)
tree5f25bac94add44d00805ca2dd732407026f7ca55 /driver/pi3usb9281.h
parente358a5521d3dda93d9ca219352a4f27c20d49a18 (diff)
downloadchrome-ec-eb781cc377fe8c5c2d1cb266b599c24e5e4e8cd5.tar.gz
driver/bc12/pi3usb9281: Make a few functions static
Old oak boards that still use these functions have long been deprecated, let's make the unneeded functions static. BRANCH=none BUG=b:35573263 TEST=make buildall -j => makes newsizes: up to 64 bytes saved on a few boards. Change-Id: I8f2503ce324e34b87b3bbfa3c509079357880c9e Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/848574 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'driver/pi3usb9281.h')
-rw-r--r--driver/pi3usb9281.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/driver/pi3usb9281.h b/driver/pi3usb9281.h
index fc642435c6..fe19f0e977 100644
--- a/driver/pi3usb9281.h
+++ b/driver/pi3usb9281.h
@@ -71,23 +71,7 @@ struct pi3usb9281_config {
/* Configuration struct defined at board level */
extern struct pi3usb9281_config pi3usb9281_chips[];
-/* TODO: Make many of these functions static after Oak board changes. */
-/* Initialize chip and enable interrupts */
-void pi3usb9281_init(int port);
-
/* Enable interrupts. */
int pi3usb9281_enable_interrupts(int port);
-/* Disable all interrupts. */
-int pi3usb9281_disable_interrupts(int port);
-
-/* Get and clear current interrupt status. */
-int pi3usb9281_get_interrupts(int port);
-
-/* Get attached device type. */
-int pi3usb9281_get_device_type(int port);
-
-/* Get attached charger status. */
-int pi3usb9281_get_charger_status(int port);
-
#endif /* __CROS_EC_PI3USB9281_H */