#include "devices.h"
#include "../../../drivers/spi/rk2818_spim.h"
-#include "../../../drivers/regulator/rk2818_lp8725.h"
+#include <linux/regulator/rk2818_lp8725.h>
/* --------------------------------------------------------------------
* ÉùÃ÷ÁËrk2818_gpioBankÊý×飬²¢¶¨ÒåÁËGPIO¼Ä´æÆ÷×éIDºÍ¼Ä´æÆ÷»ùµØÖ·¡£
* -------------------------------------------------------------------- */
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/regulator/driver.h>
-#include "rk2818_lp8725.h"
+#include <linux/regulator/rk2818_lp8725.h>
#if 0
+++ /dev/null
-/* include/linux/regulator/rk2818_lp8725.h
- *
- * Copyright (C) 2010 ROCKCHIP, Inc.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- */
-#ifndef __LINUX_REGULATOR_LP8725_H
-#define __LINUX_REGULATOR_LP8725_H
-
-#include <linux/regulator/machine.h>
-
-#define LP8725_LDO1 0
-#define LP8725_LDO2 1
-#define LP8725_LDO3 2
-#define LP8725_LDO4 3
-#define LP8725_LDO5 4
-
-#define LP8725_LILO1 5
-#define LP8725_LILO2 6
-
-#define LP8725_DCDC1 7
-#define LP8725_DCDC2 8
-
-#define LP8725_NUM_REGULATORS 9
-
-struct lp8725_regulator_subdev {
- int id;
- struct regulator_init_data *initdata;
-};
-
-struct lp8725_platform_data {
- int num_regulators;
- struct lp8725_regulator_subdev *regulators;
-};
-
-#endif
--- /dev/null
+/* include/linux/regulator/rk2818_lp8725.h
+ *
+ * Copyright (C) 2010 ROCKCHIP, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#ifndef __LINUX_REGULATOR_LP8725_H
+#define __LINUX_REGULATOR_LP8725_H
+
+#include <linux/regulator/machine.h>
+
+#define LP8725_LDO1 0
+#define LP8725_LDO2 1
+#define LP8725_LDO3 2
+#define LP8725_LDO4 3
+#define LP8725_LDO5 4
+
+#define LP8725_LILO1 5
+#define LP8725_LILO2 6
+
+#define LP8725_DCDC1 7
+#define LP8725_DCDC2 8
+
+#define LP8725_NUM_REGULATORS 9
+
+struct lp8725_regulator_subdev {
+ int id;
+ struct regulator_init_data *initdata;
+};
+
+struct lp8725_platform_data {
+ int num_regulators;
+ struct lp8725_regulator_subdev *regulators;
+};
+
+#endif