diff options
| author | Tony SIM <chinyeow.sim.xt@renesas.com> | 2011-02-15 19:10:27 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 13:21:57 -0800 |
| commit | f2f1794835f1d8900d2b15d114c54e70c849809b (patch) | |
| tree | 294c834c91571774ca7a819314b77d2e89effa9c /include/linux | |
| parent | ea801950cf54d5d3e219bd51e298193d56cd53e7 (diff) | |
staging: iio: ak8975: add platform data.
As some of the platform not support irq_to_gpio, we pass gpio port
by platform data.
Signed-off-by: Tony SIM <chinyeow.sim.xt@renesas.com>
Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/input/ak8975.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/input/ak8975.h b/include/linux/input/ak8975.h new file mode 100644 index 000000000000..25d41eb10c3e --- /dev/null +++ b/include/linux/input/ak8975.h @@ -0,0 +1,20 @@ +/* + * ak8975 platform support + * + * Copyright (C) 2010 Renesas Solutions Corp. + * + * Author: Tony SIM <chinyeow.sim.xt@renesas.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _AK8975_H +#define _AK8975_H + +struct ak8975_platform_data { + int gpio; +}; + +#endif |
