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
a75568c6
Commit
a75568c6
authored
Mar 07, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix parport_cs compile troubles
parent
50b1b006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
drivers/parport/parport_cs.c
drivers/parport/parport_cs.c
+1
-8
No files found.
drivers/parport/parport_cs.c
View file @
a75568c6
...
...
@@ -45,6 +45,7 @@
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ioport.h>
#include <linux/major.h>
#include <linux/parport.h>
#include <linux/parport_pc.h>
...
...
@@ -106,7 +107,6 @@ static dev_info_t dev_info = "parport_cs";
static
dev_link_t
*
dev_list
=
NULL
;
extern
struct
parport_operations
parport_pc_ops
;
static
struct
parport_operations
parport_cs_ops
;
/*====================================================================*/
...
...
@@ -459,13 +459,6 @@ static int __init init_parport_cs(void)
return
-
1
;
}
#if (LINUX_VERSION_CODE < VERSION(2,3,6))
/* This is to protect against unloading modules out of order */
parport_cs_ops
=
parport_pc_ops
;
parport_cs_ops
.
inc_use_count
=
&
inc_use_count
;
parport_cs_ops
.
dec_use_count
=
&
dec_use_count
;
#endif
register_pccard_driver
(
&
dev_info
,
&
parport_attach
,
&
parport_detach
);
return
0
;
}
...
...
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