diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-19 23:48:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-21 07:41:32 +0200 |
commit | 31879ed96f75e1e75b150e9665e261a44e3fa904 (patch) | |
tree | af8486c3b14bad16fb3e183495adb0bf049f2657 /include/usb/usb.h | |
parent | 1e60cbaf6364743d6d47fbd057aec4fa12ff21f4 (diff) | |
download | barebox-31879ed96f75e1e75b150e9665e261a44e3fa904.tar.gz barebox-31879ed96f75e1e75b150e9665e261a44e3fa904.tar.xz |
usb: move scanned status into core
A command should not be interested in the internal USB core state, so
move the state handling into the core.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/usb.h')
-rw-r--r-- | include/usb/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h index da0090e039..2e1498c8b6 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -248,7 +248,7 @@ int usb_clear_halt(struct usb_device *dev, int pipe); int usb_string(struct usb_device *dev, int index, char *buf, size_t size); int usb_set_interface(struct usb_device *dev, int interface, int alternate); -void usb_rescan(void); +void usb_rescan(int force); /* big endian -> little endian conversion */ /* some CPUs are already little endian e.g. the ARM920T */ |