Skip to content

Commit b4c760d

Browse files
Lee Joneswsakernel
authored andcommitted
i2c: busses: i2c-designware-master: Fix misnaming of 'i2c_dw_init_master()'
Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-designware-master.c:176: warning: expecting prototype for i2c_dw_init(). Prototype was for i2c_dw_init_master() instead Signed-off-by: Lee Jones <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 6eb8a47 commit b4c760d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-designware-master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev)
165165
}
166166

167167
/**
168-
* i2c_dw_init() - Initialize the designware I2C master hardware
168+
* i2c_dw_init_master() - Initialize the designware I2C master hardware
169169
* @dev: device private data
170170
*
171171
* This functions configures and enables the I2C master.

0 commit comments

Comments
 (0)