blob: 42026036cd3e7d1b8f892509161ce30362689458 [file] [log] [blame]
Andres Salomon392a3252012-07-10 19:31:51 -07001/*
2 * Generic driver for the OLPC Embedded Controller.
3 *
4 * Copyright (C) 2011-2012 One Laptop per Child Foundation.
5 *
6 * Licensed under the GPL v2 or later.
7 */
8#include <linux/module.h>
9#include <asm/olpc.h>
10
11int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen)
12{
13 /* Currently a stub; this will be expanded upon later. */
14 return olpc_ec_cmd_x86(cmd, inbuf, inlen, outbuf, outlen);
15}
16EXPORT_SYMBOL_GPL(olpc_ec_cmd);