kernel-ark/include/linux/input/ak8975.h
Tony SIM f2f1794835 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>
2011-02-18 13:21:57 -08:00

21 lines
416 B
C

/*
* 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