Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0592e4c4
Commit
0592e4c4
authored
Oct 16, 2009
by
Josh Triplett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: radeon: Mark several functions static in mkregtable
Signed-off-by:
Josh Triplett
<
josh@joshtriplett.org
>
parent
c843e315
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/gpu/drm/radeon/mkregtable.c
drivers/gpu/drm/radeon/mkregtable.c
+6
-6
No files found.
drivers/gpu/drm/radeon/mkregtable.c
View file @
0592e4c4
...
@@ -561,7 +561,7 @@ struct table {
...
@@ -561,7 +561,7 @@ struct table {
char
*
gpu_prefix
;
char
*
gpu_prefix
;
};
};
struct
offset
*
offset_new
(
unsigned
o
)
st
atic
st
ruct
offset
*
offset_new
(
unsigned
o
)
{
{
struct
offset
*
offset
;
struct
offset
*
offset
;
...
@@ -573,12 +573,12 @@ struct offset *offset_new(unsigned o)
...
@@ -573,12 +573,12 @@ struct offset *offset_new(unsigned o)
return
offset
;
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
);
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
);
INIT_LIST_HEAD
(
&
t
->
offsets
);
t
->
offset_max
=
0
;
t
->
offset_max
=
0
;
...
@@ -586,7 +586,7 @@ void table_init(struct table *t)
...
@@ -586,7 +586,7 @@ void table_init(struct table *t)
t
->
table
=
NULL
;
t
->
table
=
NULL
;
}
}
void
table_print
(
struct
table
*
t
)
static
void
table_print
(
struct
table
*
t
)
{
{
unsigned
nlloop
,
i
,
j
,
n
,
c
,
id
;
unsigned
nlloop
,
i
,
j
,
n
,
c
,
id
;
...
@@ -611,7 +611,7 @@ void table_print(struct table *t)
...
@@ -611,7 +611,7 @@ void table_print(struct table *t)
printf
(
"};
\n
"
);
printf
(
"};
\n
"
);
}
}
int
table_build
(
struct
table
*
t
)
static
int
table_build
(
struct
table
*
t
)
{
{
struct
offset
*
offset
;
struct
offset
*
offset
;
unsigned
i
,
m
;
unsigned
i
,
m
;
...
@@ -631,7 +631,7 @@ int table_build(struct table *t)
...
@@ -631,7 +631,7 @@ int table_build(struct table *t)
}
}
static
char
gpu_name
[
10
];
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
;
FILE
*
file
;
regex_t
mask_rex
;
regex_t
mask_rex
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment