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
6e8f247a
Commit
6e8f247a
authored
Dec 10, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't allow to be opened twice.
This allows us to early_init using a direct agp_init() call for the i810fb.
parent
34e9aa48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
drivers/char/agp/backend.c
drivers/char/agp/backend.c
+7
-0
No files found.
drivers/char/agp/backend.c
View file @
6e8f247a
...
...
@@ -274,6 +274,13 @@ int __exit agp_unregister_driver(void)
int
__init
agp_init
(
void
)
{
static
int
already_initialised
=
0
;
if
(
already_initialised
!=
0
)
return
0
;
already_initialised
=
1
;
memset
(
&
agp_bridge
,
0
,
sizeof
(
struct
agp_bridge_data
));
agp_bridge
.
type
=
NOT_SUPPORTED
;
...
...
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