diff options
| -rw-r--r-- | drivers/gpu/drm/radeon/mkregtable.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/mkregtable.c b/drivers/gpu/drm/radeon/mkregtable.c index fb211e585dea..0d79577c1576 100644 --- a/drivers/gpu/drm/radeon/mkregtable.c +++ b/drivers/gpu/drm/radeon/mkregtable.c | |||
| @@ -561,7 +561,7 @@ struct table { | |||
| 561 | char *gpu_prefix; | 561 | char *gpu_prefix; |
| 562 | }; | 562 | }; |
| 563 | 563 | ||
| 564 | struct offset *offset_new(unsigned o) | 564 | static struct offset *offset_new(unsigned o) |
| 565 | { | 565 | { |
| 566 | struct offset *offset; | 566 | struct offset *offset; |
| 567 | 567 | ||
| @@ -573,12 +573,12 @@ struct offset *offset_new(unsigned o) | |||
| 573 | return offset; | 573 | return offset; |
| 574 | } | 574 | } |
| 575 | 575 | ||
| 576 | void table_offset_add(struct table *t, struct offset *offset) | 576 | static void table_offset_add(struct table *t, struct offset *offset) |
| 577 | { | 577 | { |
| 578 | list_add_tail(&offset->list, &t->offsets); | 578 | list_add_tail(&offset->list, &t->offsets); |
| 579 | } | 579 | } |
| 580 | 580 | ||
| 581 | void table_init(struct table *t) | 581 | static void table_init(struct table *t) |
| 582 | { | 582 | { |
| 583 | INIT_LIST_HEAD(&t->offsets); | 583 | INIT_LIST_HEAD(&t->offsets); |
| 584 | t->offset_max = 0; | 584 | t->offset_max = 0; |
| @@ -586,7 +586,7 @@ void table_init(struct table *t) | |||
| 586 | t->table = NULL; | 586 | t->table = NULL; |
| 587 | } | 587 | } |
| 588 | 588 | ||
| 589 | void table_print(struct table *t) | 589 | static void table_print(struct table *t) |
| 590 | { | 590 | { |
| 591 | unsigned nlloop, i, j, n, c, id; | 591 | unsigned nlloop, i, j, n, c, id; |
| 592 | 592 | ||
| @@ -611,7 +611,7 @@ void table_print(struct table *t) | |||
| 611 | printf("};\n"); | 611 | printf("};\n"); |
| 612 | } | 612 | } |
| 613 | 613 | ||
| 614 | int table_build(struct table *t) | 614 | static int table_build(struct table *t) |
| 615 | { | 615 | { |
| 616 | struct offset *offset; | 616 | struct offset *offset; |
| 617 | unsigned i, m; | 617 | unsigned i, m; |
| @@ -631,7 +631,7 @@ int table_build(struct table *t) | |||
| 631 | } | 631 | } |
| 632 | 632 | ||
| 633 | static char gpu_name[10]; | 633 | static char gpu_name[10]; |
| 634 | int parser_auth(struct table *t, const char *filename) | 634 | static int parser_auth(struct table *t, const char *filename) |
| 635 | { | 635 | { |
| 636 | FILE *file; | 636 | FILE *file; |
| 637 | regex_t mask_rex; | 637 | regex_t mask_rex; |
