From c1cb37da169ca63986e85ab1ef33c25fe4fb003d Mon Sep 17 00:00:00 2001 From: thl Date: Tue, 16 Dec 2008 21:27:09 +0000 Subject: [ifxmips] some correction (sorry, was compiling old files) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13670 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h | 2 +- target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ifxmips/files/include/asm-mips') diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h index bcf0f12c5..8ba852a1e 100644 --- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h +++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h @@ -163,7 +163,7 @@ struct dma_channel_info { struct dma_device_info { /* device name of this peripheral */ - const char *device_name; + char device_name[15]; int reserved; int tx_burst_len; int rx_burst_len; diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h index 4ff1ee0af..330c3cfd5 100644 --- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h +++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h @@ -141,7 +141,7 @@ struct gptu_ioctl_param { */ typedef void (*timer_callback)(unsigned long arg); -xtern int ifxmips_request_timer(unsigned int, unsigned int, unsigned long, unsigned long, unsigned long); +extern int ifxmips_request_timer(unsigned int, unsigned int, unsigned long, unsigned long, unsigned long); extern int ifxmips_free_timer(unsigned int); extern int ifxmips_start_timer(unsigned int, int); extern int ifxmips_stop_timer(unsigned int); -- cgit v1.2.3