summaryrefslogtreecommitdiffstats
path: root/drivers/char/ftape/lowlevel/fdc-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ftape/lowlevel/fdc-io.c')
-rw-r--r--drivers/char/ftape/lowlevel/fdc-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ftape/lowlevel/fdc-io.c b/drivers/char/ftape/lowlevel/fdc-io.c
index 6890df0fa..c476c6441 100644
--- a/drivers/char/ftape/lowlevel/fdc-io.c
+++ b/drivers/char/ftape/lowlevel/fdc-io.c
@@ -54,7 +54,7 @@ int ftape_motor = 0;
volatile int ftape_current_cylinder = -1;
volatile fdc_mode_enum fdc_mode = fdc_idle;
fdc_config_info fdc = {0};
-struct wait_queue *ftape_wait_intr = NULL;
+DECLARE_WAIT_QUEUE_HEAD(ftape_wait_intr);
unsigned int ft_fdc_base = CONFIG_FT_FDC_BASE;
unsigned int ft_fdc_irq = CONFIG_FT_FDC_IRQ;
@@ -385,7 +385,7 @@ int fdc_issue_command(const __u8 * out_data, int out_count,
*/
int fdc_interrupt_wait(unsigned int time)
{
- struct wait_queue wait = {current, NULL};
+ DECLARE_WAITQUEUE(wait,current);
sigset_t old_sigmask;
static int resetting = 0;
long timeout;