mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the
Linux 2.6 kernel. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5362 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5337690525
commit
a36de90a61
2 files changed
+1
-4
No files matched your search
@@ -2,6 +2,7 @@ lm_sensors CHANGES file
|
||||
-----------------------
|
||||
|
||||
SVN-HEAD
|
||||
File i2c-dev.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines
|
||||
Library: Avoid namespace pollution
|
||||
Add support for the IT8720F chip
|
||||
Module i2c-i801: Remove verbose debugging messages (2.6 backport)
|
||||
|
||||
@@ -66,8 +66,6 @@ struct i2c_msg {
|
||||
#define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000
|
||||
#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */
|
||||
#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */
|
||||
#define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 0x10000000 /* I2C-like block xfer */
|
||||
#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 /* w/ 2-byte reg. addr. */
|
||||
|
||||
#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \
|
||||
I2C_FUNC_SMBUS_WRITE_BYTE)
|
||||
@@ -79,8 +77,6 @@ struct i2c_msg {
|
||||
I2C_FUNC_SMBUS_WRITE_BLOCK_DATA)
|
||||
#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \
|
||||
I2C_FUNC_SMBUS_WRITE_I2C_BLOCK)
|
||||
#define I2C_FUNC_SMBUS_I2C_BLOCK_2 (I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 | \
|
||||
I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2)
|
||||
|
||||
/* Old name, for compatibility */
|
||||
#define I2C_FUNC_SMBUS_HWPEC_CALC I2C_FUNC_SMBUS_PEC
|
||||
|
||||
Reference in new issue
Block a user