Skip to content

Commit b7182b4

Browse files
committed
bus: ti-sysc: Make functions static
We can make sysc_write() and sysc_child_pm_domain static as noted by sparse. Signed-off-by: Tony Lindgren <[email protected]>
1 parent 386cb76 commit b7182b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bus/ti-sysc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct sysc {
9494
static void sysc_parse_dts_quirks(struct sysc *ddata, struct device_node *np,
9595
bool is_child);
9696

97-
void sysc_write(struct sysc *ddata, int offset, u32 value)
97+
static void sysc_write(struct sysc *ddata, int offset, u32 value)
9898
{
9999
writel_relaxed(value, ddata->module_va + offset);
100100
}
@@ -1209,7 +1209,7 @@ static int sysc_child_resume_noirq(struct device *dev)
12091209
}
12101210
#endif
12111211

1212-
struct dev_pm_domain sysc_child_pm_domain = {
1212+
static struct dev_pm_domain sysc_child_pm_domain = {
12131213
.ops = {
12141214
SET_RUNTIME_PM_OPS(sysc_child_runtime_suspend,
12151215
sysc_child_runtime_resume,

0 commit comments

Comments
 (0)