# Re: \[PATCH 2/4\] fsl\_pmc: Add API to enable device as wakeup event source

- From: Tabi Timur-B04825 \<hidden\>
- Date: 2012-08-14 12:27:22 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/08/3908031
- Thread: https://ratatoskr.run/linuxppc-dev/2012/08/3904187/t.md

```text
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.

--=20
Timur Tabi
Linux kernel developer at Freescale=
```
