Repository navigation
Commit 69e7dae
Paul Gortmaker
ip_vs.h: fix implicit use of module_get/module_put from module.h
This file was using the module get/put functions in two simple inline
functions. But module_get/put were only within scope because of
the implicit presence of module.h being everywhere.
Rather than add module.h to another file in include/ -- which is
exactly the thing we are trying to avoid, simply convert these
one-line functions into a define, as per what was done for the
device_schedule_callback() in commit 523ded7.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>1 parent 34641c6 commit 69e7dae
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
1132 | 1134 | | |
1133 | | - | |
1134 | 1135 | | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
| 1136 | + | |
| 1137 | + | |
1138 | 1138 | | |
1139 | | - | |
1140 | 1139 | | |
1141 | 1140 | | |
1142 | 1141 | | |
| |||
0 commit comments