summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index d1d77152c3..dca4616958 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -168,7 +168,7 @@ int main(int argc, char *argv[], char *envp[])
struct udevice *udev;
int root = 0;
- struct option options[] = {
+ static const struct option options[] = {
{ "name", 1, NULL, 'n' },
{ "path", 1, NULL, 'p' },
{ "query", 1, NULL, 'q' },