Skip to content

Commit

Permalink
drm: radeon: Mark several functions static in mkregtable
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
Josh Triplett committed Nov 15, 2009
1 parent c843e31 commit 0592e4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/gpu/drm/radeon/mkregtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ struct table {
char *gpu_prefix;
};

struct offset *offset_new(unsigned o)
static struct offset *offset_new(unsigned o)
{
struct offset *offset;

Expand All @@ -573,20 +573,20 @@ struct offset *offset_new(unsigned o)
return offset;
}

void table_offset_add(struct table *t, struct offset *offset)
static void table_offset_add(struct table *t, struct offset *offset)
{
list_add_tail(&offset->list, &t->offsets);
}

void table_init(struct table *t)
static void table_init(struct table *t)
{
INIT_LIST_HEAD(&t->offsets);
t->offset_max = 0;
t->nentry = 0;
t->table = NULL;
}

void table_print(struct table *t)
static void table_print(struct table *t)
{
unsigned nlloop, i, j, n, c, id;

Expand All @@ -611,7 +611,7 @@ void table_print(struct table *t)
printf("};\n");
}

int table_build(struct table *t)
static int table_build(struct table *t)
{
struct offset *offset;
unsigned i, m;
Expand All @@ -631,7 +631,7 @@ int table_build(struct table *t)
}

static char gpu_name[10];
int parser_auth(struct table *t, const char *filename)
static int parser_auth(struct table *t, const char *filename)
{
FILE *file;
regex_t mask_rex;
Expand Down

0 comments on commit 0592e4c

Please sign in to comment.