Messages in this thread | | | Date | Sun, 7 Nov 2004 10:54:47 +0000 | From | Russell King <> | Subject | Re: [patch 2.6.10-rc1-bk] shrink struct device a bit |
| |
On Thu, Nov 04, 2004 at 08:37:31PM -0700, David Brownell wrote: > Two fields were duplicates of ones in the PM struct, > and weren't much used in any case.
> +#else /* !CONFIG_PM */ > +#define sa1111_resume 0 > +#define sa1111_suspend 0 ... > +#else > +#define neponset_suspend 0 > +#define neponset_resume 0 > +#endif
I think sparse will complain at being given '0' instead of 'NULL' for pointers. Please use NULL instead.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |