diff options
Diffstat (limited to 'utils/hwstub/stub')
-rw-r--r-- | utils/hwstub/stub/stmp/target.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c index 60411f908e..11516e5492 100644 --- a/utils/hwstub/stub/stmp/target.c +++ b/utils/hwstub/stub/stmp/target.c | |||
@@ -196,6 +196,11 @@ int target_get_info(int info, void **buffer) | |||
196 | *buffer = &g_stmp; | 196 | *buffer = &g_stmp; |
197 | return sizeof(g_stmp); | 197 | return sizeof(g_stmp); |
198 | } | 198 | } |
199 | else if(info == HWSTUB_INFO_TARGET) | ||
200 | { | ||
201 | *buffer = &g_target; | ||
202 | return sizeof(g_target); | ||
203 | } | ||
199 | else | 204 | else |
200 | return -1; | 205 | return -1; |
201 | } | 206 | } |