diff options
author | Simon Glass <sjg@chromium.org> | 2018-11-23 21:29:38 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-05 06:01:35 -0700 |
commit | 165be50f5ad128e0b87bddf8a12dcafd3c8ba7f4 (patch) | |
tree | 9a4e9192ff72909981102f1a1c4ab2073450eb51 /include | |
parent | eafb4a59dbb90a63c9676f16ffa1e099ee26ec28 (diff) | |
download | u-boot-165be50f5ad128e0b87bddf8a12dcafd3c8ba7f4.tar.gz |
input: i8042: Use remove() instead of exported functions
We should not have exported functions in a driver. The i8042_disable()
function is used to disable the keyboard. Provide a remove() method
instead, which is the standard way of disabling a device.
We could potentially add a method to flush input but that does not seem
necessary.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/i8042.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/i8042.h b/include/i8042.h index 2b9e5c4d37..8d69fa13bc 100644 --- a/include/i8042.h +++ b/include/i8042.h @@ -72,19 +72,4 @@ #define BRK 0x0100 /* make break flag for keyboard */ #define ALT 0x0200 /* right alt */ -/* exports */ - -/** - * Flush all buffer from keyboard controller to host. - */ -void i8042_flush(void); - -/** - * Disables the keyboard so that key strokes no longer generate scancodes to - * the host. - * - * @return 0 if ok, -1 if keyboard input was found while disabling - */ -int i8042_disable(void); - #endif /* _I8042_H_ */ |