Re: [PATCH v6] MTD: LPC32xx SLC NAND driver

From: Russell King - ARM Linux
Date: Thu Jun 07 2012 - 04:11:26 EST


On Wed, Jun 06, 2012 at 04:38:41PM +0300, Artem Bityutskiy wrote:
> On Wed, 2012-06-06 at 11:20 +0200, Roland Stigge wrote:
> > +#else
> > +#define lpc32xx_nand_resume NULL
> > +#define lpc32xx_nand_suspend NULL
> > +#endif
>
> 0, not NULL.

Err, what planet are you on there. These are _pointers_ to functions,
so using a _pointer_ is more correct than using an _integer_.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/