patch-1.3.15 linux/kernel/dma.c

Next file: linux/kernel/itimer.c
Previous file: linux/init/version.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/kernel/dma.c linux/kernel/dma.c
@@ -40,7 +40,7 @@
 
 struct dma_chan {
 	int  lock;
-	char *device_id;
+	const char *device_id;
 };
 
 static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = {
@@ -69,7 +69,7 @@
 } /* get_dma_list */
 
 
-int request_dma(unsigned int dmanr, char * device_id)
+int request_dma(unsigned int dmanr, const char * device_id)
 {
 	if (dmanr >= MAX_DMA_CHANNELS)
 		return -EINVAL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this