summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/include/asm-mips
diff options
context:
space:
mode:
authorthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-16 21:27:09 +0000
committerthl <thl@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-16 21:27:09 +0000
commitc1cb37da169ca63986e85ab1ef33c25fe4fb003d (patch)
tree2499ed0729440cb2a9c2d66d11a1a64161d7f801 /target/linux/ifxmips/files/include/asm-mips
parent73a104c025f3230baa7e6e01250ca8825ee4342f (diff)
[ifxmips] some correction (sorry, was compiling old files)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13670 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/files/include/asm-mips')
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_dma.h2
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_gptu.h2
2 files changed, 2 insertions, 2 deletions
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);