Re: mmotm 2018-07-10-16-50 uploaded (gpio: gpio-mt721.c)

From: Randy Dunlap
Date: Thu Jul 12 2018 - 02:02:04 EST


On 07/10/2018 04:50 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.

from linux-next.patch:

on x86_64:
when CONFIG_OF is not enabled:

../drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_bank_probe':
../drivers/gpio/gpio-mt7621.c:228:10: error: 'struct gpio_chip' has no member named 'of_node'
rg->chip.of_node = node;
^
../drivers/gpio/gpio-mt7621.c:243:10: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
rg->chip.of_gpio_n_cells = 2;
^
../drivers/gpio/gpio-mt7621.c:244:10: error: 'struct gpio_chip' has no member named 'of_xlate'
rg->chip.of_xlate = mediatek_gpio_xlate;
^


--
~Randy