X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fblock%2Fxd.c;h=624d30f7da3fc0ba125de8c46b5f9ec8d1f4efc8;hb=a8f43ee7e108cecf68cac652d0a3aeedb8131220;hp=ebf3025721d148866aeb0f5be68fbd4e6fdfb7ea;hpb=e993835441734c184d70d3716eed78a08eeb71c2;p=mv-sheeva.git diff --git a/drivers/block/xd.c b/drivers/block/xd.c index ebf3025721d..624d30f7da3 100644 --- a/drivers/block/xd.c +++ b/drivers/block/xd.c @@ -48,9 +48,9 @@ #include #include #include +#include #include -#include #include #include @@ -298,7 +298,7 @@ static u_char __init xd_detect (u_char *controller, unsigned int *address) } /* do_xd_request: handle an incoming request */ -static void do_xd_request (request_queue_t * q) +static void do_xd_request (struct request_queue * q) { struct request *req; @@ -462,8 +462,7 @@ static void xd_recalibrate (u_char drive) } /* xd_interrupt_handler: interrupt service routine */ -static irqreturn_t xd_interrupt_handler(int irq, void *dev_id, - struct pt_regs *regs) +static irqreturn_t xd_interrupt_handler(int irq, void *dev_id) { if (inb(XD_STATUS) & STAT_INTERRUPT) { /* check if it was our device */ #ifdef DEBUG_OTHER