[PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source
Tabi Timur-B04825
B04825 at freescale.com
Tue Aug 14 22:27:17 EST 2012
Zhao Chenhui wrote:
>>> > >+#ifdef CONFIG_FSL_PMC
>>> > >+extern int mpc85xx_pmc_set_wake(struct device *dev, bool enable);
>>> > >+extern void mpc85xx_pmc_set_lossless_ethernet(int enable);
>> >
>> >Don't use 'extern' for functions.
>> >
> Why? I think there is no difference.
It's unnecessary, and it makes the line longer.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list