mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
cleaner
This commit is contained in:
1 parent
f4116c3a42
commit
74cef4ab78
4 files changed
+20
-62
No files matched your search
@@ -18,12 +18,10 @@
|
||||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "cros_ec.h"
|
||||
#include <grub/mm.h>
|
||||
#include <grub/time.h>
|
||||
#include <grub/misc.h>
|
||||
|
||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
#include <grub/cros_ec.h>
|
||||
|
||||
static grub_uint64_t
|
||||
grub_get_time_us (void)
|
||||
@@ -260,7 +258,8 @@ static int ec_command(int cmd, int cmd_version,
|
||||
return din_len;
|
||||
}
|
||||
|
||||
int cros_ec_scan_keyboard(struct cros_ec_keyscan *scan)
|
||||
int
|
||||
grub_cros_ec_scan_keyboard(struct grub_cros_ec_keyscan *scan)
|
||||
{
|
||||
if (ec_command(EC_CMD_MKBP_STATE, 0, NULL, 0, scan,
|
||||
sizeof(*scan)) < (int)sizeof(*scan))
|
||||
|
||||
Reference in new issue
Block a user