# RE: \[PATCH V2 1/3\] PM: wakeup: Add routine to help fetch wakeup source object.

- From: Ran Wang \<hidden\>
- Date: 2019-05-20 02:15:56 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2019/05/5600770
- Thread: https://ratatoskr.run/linuxppc-dev/2019/05/5599613/t.md

```text
Hi Pavel,

On Monday, May 20, 2019 05:35, Pavel Machek wrote:
> 
> > --- a/include/linux/pm_wakeup.h
> 
> > @@ -70,6 +71,7 @@ struct wakeup_source {
> >  	unsigned long		wakeup_count;
> >  	bool			active:1;
> >  	bool			autosleep_enabled:1;
> > +	struct device	*attached_dev;
> >  };
> >
> >  #ifdef CONFIG_PM_SLEEP
> 
> You might want to format this similary to the rest...

OK, will update, thanks.

Regards,
Ran
```
