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
32e71bf0
Commit
32e71bf0
authored
Nov 05, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix floppy timer initialization
parent
918d25b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/block/floppy.c
drivers/block/floppy.c
+4
-4
No files found.
drivers/block/floppy.c
View file @
32e71bf0
...
...
@@ -554,7 +554,7 @@ static void floppy_ready(void);
static
void
floppy_start
(
void
);
static
void
process_fd_request
(
void
);
static
void
recalibrate_floppy
(
void
);
static
void
floppy_shutdown
(
void
);
static
void
floppy_shutdown
(
unsigned
long
);
static
int
floppy_grab_irq_and_dma
(
void
);
static
void
floppy_release_irq_and_dma
(
void
);
...
...
@@ -628,7 +628,7 @@ static inline void debugt(const char *message)
}
typedef
void
(
*
timeout_fn
)(
unsigned
long
);
static
struct
timer_list
fd_timeout
=
{
function
:
(
timeout_fn
)
floppy_shutdown
}
;
static
struct
timer_list
fd_timeout
=
TIMER_INITIALIZER
(
floppy_shutdown
,
0
,
0
)
;
static
const
char
*
timeout_message
;
...
...
@@ -1011,7 +1011,7 @@ static void schedule_bh( void (*handler)(void*) )
schedule_work
(
&
floppy_work
);
}
static
struct
timer_list
fd_timer
;
static
struct
timer_list
fd_timer
=
TIMER_INITIALIZER
(
NULL
,
0
,
0
)
;
static
void
cancel_activity
(
void
)
{
...
...
@@ -1900,7 +1900,7 @@ static void show_floppy(void)
printk
(
"
\n
"
);
}
static
void
floppy_shutdown
(
void
)
static
void
floppy_shutdown
(
unsigned
long
data
)
{
unsigned
long
flags
;
...
...
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