summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/usb/usbdisk.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/usb/usbdisk.h')
-rw-r--r--payloads/libpayload/include/usb/usbdisk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/include/usb/usbdisk.h b/payloads/libpayload/include/usb/usbdisk.h
index 3ac24631ac..3eb2f627a8 100644
--- a/payloads/libpayload/include/usb/usbdisk.h
+++ b/payloads/libpayload/include/usb/usbdisk.h
@@ -38,7 +38,7 @@
*
* @param dev descriptor for the USB storage device
*/
-void usbdisk_create (usbdev_t *dev);
+void __attribute__((weak)) usbdisk_create (usbdev_t *dev);
/**
* To be implemented by libpayload-client. It's called by the USB stack
@@ -46,6 +46,6 @@ void usbdisk_create (usbdev_t *dev);
*
* @param dev descriptor for the USB storage device
*/
-void usbdisk_remove (usbdev_t *dev);
+void __attribute__((weak)) usbdisk_remove (usbdev_t *dev);
#endif