mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
staging: sm750fb: ddk750_sii164: fix defines for i2c{Read, Write}reg
For case when USE_HW_I2C is not defined, i2c{Read,Write}reg was wrongly defined to use old function names. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5372350be3
commit
9a357143bc
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@
|
|||
#define i2cWriteReg sm750_hw_i2c_write_reg
|
||||
#define i2cReadReg sm750_hw_i2c_read_reg
|
||||
#else
|
||||
#define i2cWriteReg swI2CWriteReg
|
||||
#define i2cReadReg swI2CReadReg
|
||||
#define i2cWriteReg sm750_sw_i2c_write_reg
|
||||
#define i2cReadReg sm750_sw_i2c_read_reg
|
||||
#endif
|
||||
|
||||
/* SII164 Vendor and Device ID */
|
||||
|
|
Loading…
Reference in a new issue