From ddd86436f4e3643c04b797f858dab95d5f2e4de9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Dec 2015 15:00:15 +0000 Subject: fish --- backport-include/linux/regulator/driver.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 backport-include/linux/regulator/driver.h (limited to 'backport-include/linux/regulator') diff --git a/backport-include/linux/regulator/driver.h b/backport-include/linux/regulator/driver.h new file mode 100644 index 0000000..fbd9845 --- /dev/null +++ b/backport-include/linux/regulator/driver.h @@ -0,0 +1,26 @@ +/* + * driver.h -- SoC Regulator driver support. + * + * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC. + * + * Author: Liam Girdwood + * + * 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. + * + * Regulator Driver Interface. + */ + +#ifndef __BACKPORT_LINUX_REGULATOR_DRIVER_H_ +#define __BACKPORT_LINUX_REGULATOR_DRIVER_H_ + +#include +#include_next + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)) +int regulator_map_voltage_ascend(struct regulator_dev *rdev, + int min_uV, int max_uV); +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)) */ + +#endif /* __BACKPORT_LINUX_REGULATOR_DRIVER_H_ */ -- cgit v1.2.3