mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
36edc93958
Based on 1 normalized pattern(s): this file is subject to the terms and conditions of version 2 of the gnu general public license see the file copying in the main directory of this archive for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 55 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: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190530000436.108941081@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 lines
445 B
C
21 lines
445 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* ADXL345 3-Axis Digital Accelerometer
|
|
*
|
|
* Copyright (c) 2017 Eva Rachel Retuya <eraretuya@gmail.com>
|
|
*/
|
|
|
|
#ifndef _ADXL345_H_
|
|
#define _ADXL345_H_
|
|
|
|
enum adxl345_device_type {
|
|
ADXL345,
|
|
ADXL375,
|
|
};
|
|
|
|
int adxl345_core_probe(struct device *dev, struct regmap *regmap,
|
|
enum adxl345_device_type type, const char *name);
|
|
int adxl345_core_remove(struct device *dev);
|
|
|
|
#endif /* _ADXL345_H_ */
|