summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-03-18 17:27:38 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-03-18 17:27:38 -0700
commit4d8d872770fb3fcfc3ac66f524738863b563e874 (patch)
treede16d76b711d07f66b9a17383382d40f2d587e8c
parentd21dca769c4e44482f7d6119d8aae54515063c53 (diff)
Fix the build. Sorry...
-rw-r--r--run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.c b/run.c
index 49b2ca3..7099b6a 100644
--- a/run.c
+++ b/run.c
@@ -258,7 +258,7 @@ struct platform {
const char *pci_id;
};
-struct const platform platforms[] = {
+const struct platform platforms[] = {
"i965", "0x2A02",
"g4x", "0x2A42",
"ilk", "0x0042",
@@ -273,7 +273,7 @@ int
main(int argc, char **argv)
{
if (argc >= 2 && strcmp(argv[1], "-p") == 0) {
- struct platform *platform;
+ const struct platform *platform;
for (unsigned i = 0; i < ARRAY_SIZE(platforms); i++) {
if (strcmp(argv[2], platforms[i].name) == 0) {
platform = platforms + i;