f2f1794835
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>
21 lines
416 B
C
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
|