patch-2.1.34 linux/drivers/pnp/parport_share.c
Next file: linux/drivers/sbus/audio/audio.c
Previous file: linux/drivers/pnp/parport_procfs.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Apr 11 10:50:49 1997
- Orig file:
v2.1.33/linux/drivers/pnp/parport_share.c
- Orig date:
Sun Apr 13 10:18:21 1997
diff -u --recursive --new-file v2.1.33/linux/drivers/pnp/parport_share.c linux/drivers/pnp/parport_share.c
@@ -9,6 +9,7 @@
* and Philip Blundell <Philip.Blundell@pobox.com>
*/
+#include <linux/tasks.h>
#include <asm/io.h>
#include <asm/dma.h>
@@ -64,7 +65,7 @@
if (new.dma >= 0) {
if (request_dma(new.dma, new.name)) {
printk(KERN_INFO "%s: unable to claim DMA %d\n",
- new.name, new..dma);
+ new.name, new.dma);
release_region(new.base, new.size);
if( new.modes & PARPORT_MODE_ECR )
release_region(new.base+0x400, 3);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov