View | Details | Raw Unified | Return to bug 207786 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/src/FreeBSD-current/src/sys/dev/gpio/gpioiic.c (-1 / +1 lines)
Lines 157-163 Link Here
157
	int error, how;
157
	int error, how;
158
158
159
	how = GPIOBUS_DONTWAIT;
159
	how = GPIOBUS_DONTWAIT;
160
	if (data != NULL && (int)*data == IIC_WAIT)
160
	if (data != NULL && *(int *)data == IIC_WAIT)
161
		how = GPIOBUS_WAIT;
161
		how = GPIOBUS_WAIT;
162
	error = 0;
162
	error = 0;
163
	switch (index) {
163
	switch (index) {

Return to bug 207786