On Tue, Aug 10, 2010 at 1:14 AM, David Brownell <davi...@pacbell.net> wrote: > > > --- On Mon, 8/9/10, Grant Likely <grant.lik...@secretlab.ca> wrote: > > >> > + nr_parts = >> of_mtd_parse_partitions(&spi->dev, np, &parts); > > Let's keep OF-specific logic out of drivers like > this one ... intended to work without OF. > > NAK on adding dependencies like OF to drivers > and other infrastructure that starts generic.
The OF hooks compile to no-ops when CONFIG_OF is disabled. I've been very careful about that. g. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev