Re: [PATCH 1/7] mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.

From: Tom Li
Date: Sun Mar 03 2019 - 19:24:44 EST


> drivers/mfd/yeeloong_kb3310b.c: In function 'kb3310b_read':
> >> drivers/mfd/yeeloong_kb3310b.c:70:2: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration]
> outb((reg & 0xff00) >> 8, KB3310B_IO_PORT_HIGH);
> ^~~~
> >> drivers/mfd/yeeloong_kb3310b.c:72:8: error: implicit declaration of function 'inb' [-Werror=implicit-function-declaration]
> val = inb(KB3310B_IO_PORT_DATA);
> ^~~

Nice bot.

I'll send out PATCH v2 soon with this fixed.

Cheers,
Tom Li