Skip to content

Commit 222ed97

Browse files
committed
変数名のミスを修正
1 parent 87bbc2c commit 222ed97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/drivers/rtmouse_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static unsigned int mcp3204_get_value(int channel)
189189
dev = mcp320x_dev;
190190

191191
#else
192-
struct spi_controller *controller;
192+
struct spi_controller *master;
193193
master = spi_busnum_to_master(mcp3204_info.bus_num);
194194
snprintf(str, sizeof(str), "%s.%u", dev_name(&master->dev),
195195
mcp3204_info.chip_select);

0 commit comments

Comments
 (0)