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
nexedi
linux
Commits
c0accffe
Commit
c0accffe
authored
Oct 04, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: ep7211_ir dongle module conversion.
parent
e712ef3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/net/irda/ep7211_ir.c
drivers/net/irda/ep7211_ir.c
+6
-10
No files found.
drivers/net/irda/ep7211_ir.c
View file @
c0accffe
...
@@ -24,12 +24,12 @@ static int ep7211_ir_change_speed(struct irda_task *task);
...
@@ -24,12 +24,12 @@ static int ep7211_ir_change_speed(struct irda_task *task);
static
int
ep7211_ir_reset
(
struct
irda_task
*
task
);
static
int
ep7211_ir_reset
(
struct
irda_task
*
task
);
static
struct
dongle_reg
dongle
=
{
static
struct
dongle_reg
dongle
=
{
Q_NULL
,
.
type
=
IRDA_EP7211_IR
,
IRDA_EP7211_IR
,
.
open
=
ep7211_ir_open
,
ep7211_ir_open
,
.
close
=
ep7211_ir_close
,
ep7211_ir_close
,
.
reset
=
ep7211_ir_reset
,
ep7211_ir_reset
,
.
change_speed
=
ep7211_ir_change_speed
,
ep7211_ir_change_speed
,
.
owner
=
THIS_MODULE
,
};
};
static
void
ep7211_ir_open
(
dongle_t
*
self
,
struct
qos_info
*
qos
)
static
void
ep7211_ir_open
(
dongle_t
*
self
,
struct
qos_info
*
qos
)
...
@@ -47,8 +47,6 @@ static void ep7211_ir_open(dongle_t *self, struct qos_info *qos)
...
@@ -47,8 +47,6 @@ static void ep7211_ir_open(dongle_t *self, struct qos_info *qos)
UART (interrupt #14). */
UART (interrupt #14). */
restore_flags
(
flags
);
restore_flags
(
flags
);
MOD_INC_USE_COUNT
;
}
}
static
void
ep7211_ir_close
(
dongle_t
*
self
)
static
void
ep7211_ir_close
(
dongle_t
*
self
)
...
@@ -66,8 +64,6 @@ static void ep7211_ir_close(dongle_t *self)
...
@@ -66,8 +64,6 @@ static void ep7211_ir_close(dongle_t *self)
reset them back to their original state. */
reset them back to their original state. */
restore_flags
(
flags
);
restore_flags
(
flags
);
MOD_DEC_USE_COUNT
;
}
}
/*
/*
...
...
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