Commit 4ba1bb12 authored by Wolfram Sang's avatar Wolfram Sang Committed by Guenter Roeck

hwmon: (pmbus) move header file out of I2C realm

include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0c9fe161
...@@ -253,7 +253,7 @@ Specifically, it provides the following information. ...@@ -253,7 +253,7 @@ Specifically, it provides the following information.
PMBus driver platform data PMBus driver platform data
========================== ==========================
PMBus platform data is defined in include/linux/i2c/pmbus.h. Platform data PMBus platform data is defined in include/linux/pmbus.h. Platform data
currently only provides a flag field with a single bit used. currently only provides a flag field with a single bit used.
#define PMBUS_SKIP_STATUS_CHECK (1 << 0) #define PMBUS_SKIP_STATUS_CHECK (1 << 0)
......
...@@ -10154,7 +10154,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git ...@@ -10154,7 +10154,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
S: Maintained S: Maintained
F: Documentation/hwmon/pmbus F: Documentation/hwmon/pmbus
F: drivers/hwmon/pmbus/ F: drivers/hwmon/pmbus/
F: include/linux/i2c/pmbus.h F: include/linux/pmbus.h
PMC SIERRA MaxRAID DRIVER PMC SIERRA MaxRAID DRIVER
L: linux-scsi@vger.kernel.org L: linux-scsi@vger.kernel.org
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
/* /*
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/hwmon.h> #include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h> #include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include <linux/regulator/driver.h> #include <linux/regulator/driver.h>
#include <linux/regulator/machine.h> #include <linux/regulator/machine.h>
#include "pmbus.h" #include "pmbus.h"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
enum chips { ucd9000, ucd90120, ucd90124, ucd90160, ucd9090, ucd90910 }; enum chips { ucd9000, ucd90120, ucd90124, ucd90160, ucd9090, ucd90910 };
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c/pmbus.h> #include <linux/pmbus.h>
#include "pmbus.h" #include "pmbus.h"
#define UCD9200_PHASE_INFO 0xd2 #define UCD9200_PHASE_INFO 0xd2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment