Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bbc_envctrl: Fix build errors from bbc_i2c OF conversion.

Signed-off-by: David S. Miller <davem@davemloft.net>

+3 -3
+3 -3
drivers/sbus/char/bbc_envctrl.c
··· 451 451 if (!tp) 452 452 return; 453 453 454 - tp->client = bbc_i2c_attach(op); 454 + tp->client = bbc_i2c_attach(bp, op); 455 455 if (!tp->client) { 456 456 kfree(tp); 457 457 return; ··· 496 496 if (!fp) 497 497 return; 498 498 499 - fp->client = bbc_i2c_attach(op); 499 + fp->client = bbc_i2c_attach(bp, op); 500 500 if (!fp->client) { 501 501 kfree(fp); 502 502 return; ··· 529 529 int fan_index = 0; 530 530 int devidx = 0; 531 531 532 - while ((op = bbc_i2c_getdev(devidx++)) != NULL) { 532 + while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { 533 533 if (!strcmp(op->node->name, "temperature")) 534 534 attach_one_temp(bp, op, temp_index++); 535 535 if (!strcmp(op->node->name, "fan-control"))