Ignore:
Timestamp:
Apr 6, 2025, 3:30:42 AM (4 months ago)
Author:
Paul Smedley
Message:

Make it compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-exp/include/linux/pm.h

    r750 r763  
    295295 * to RAM and hibernation.
    296296 */
     297#define DEFINE_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \
     298const struct dev_pm_ops name = { \
     299        SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
     300}
     301
     302
    297303#define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \
    298304const struct dev_pm_ops name = { \
     
    342348#define PMSG_THAW       0
    343349#define PMSG_RESTORE    0
    344 
     350#define pm_sleep_ptr(_ptr) _ptr
    345351#endif /* _LINUX_PM_H */
Note: See TracChangeset for help on using the changeset viewer.