[PATCH 3/3] ARM: shmobile: Koelsch: Add QSPI support

Geert Uytterhoeven geert at linux-m68k.org
Fri Jan 3 11:07:02 EST 2014


On Fri, Jan 3, 2014 at 5:51 PM, Sergei Shtylyov
<sergei.shtylyov at cogentembedded.com> wrote:
>> +       platform_device_register_resndata(&platform_bus, "qspi", 0,
>
>    As I understood, there's single QSPI controller, so why you pass 0, and
> not -1 here?

Indeed, there's only a single QSPI instance.
However, I choose to use "0" for consistency with Lager.
Mach-shmobile seems to use a mix of 0 and -1.

If the maintainer prefers -1, I can change that.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-arm-kernel mailing list