mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:17:50 +07:00
af873fcece
Based on 1 normalized pattern(s): license terms gnu general public license gpl version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 161 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 lines
725 B
C
35 lines
725 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
* Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
|
|
*/
|
|
|
|
#ifndef _BU21013_H
|
|
#define _BU21013_H
|
|
|
|
/**
|
|
* struct bu21013_platform_device - Handle the platform data
|
|
* @touch_x_max: touch x max
|
|
* @touch_y_max: touch y max
|
|
* @cs_pin: chip select pin
|
|
* @touch_pin: touch gpio pin
|
|
* @ext_clk: external clock flag
|
|
* @x_flip: x flip flag
|
|
* @y_flip: y flip flag
|
|
* @wakeup: wakeup flag
|
|
*
|
|
* This is used to handle the platform data
|
|
*/
|
|
struct bu21013_platform_device {
|
|
int touch_x_max;
|
|
int touch_y_max;
|
|
unsigned int cs_pin;
|
|
unsigned int touch_pin;
|
|
bool ext_clk;
|
|
bool x_flip;
|
|
bool y_flip;
|
|
bool wakeup;
|
|
};
|
|
|
|
#endif
|