Skip to content

Commit f0c2044

Browse files
committed
merge: ti_sci: fix build error if CONFIG_SUSPEND is not defined
Signed-off-by: Roger Quadros <[email protected]>
1 parent 8221d8a commit f0c2044

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: drivers/firmware/ti_sci.c

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828

2929
#include "ti_sci.h"
3030

31+
#ifndef CONFIG_SUSPEND
32+
suspend_state_t pm_suspend_target_state;
33+
#define pm_suspend_target_state (PM_SUSPEND_ON)
34+
#endif
35+
3136
/* List of all TI SCI devices active in system */
3237
static LIST_HEAD(ti_sci_list);
3338
/* Protection for the entire list */

0 commit comments

Comments
 (0)