some correction (sorry, was compiling old files)
SVN-Revision: 13670
This commit is contained in:
parent
a38b23a894
commit
5b2ba181e4
@ -552,7 +552,7 @@ int map_dma_chan(struct dma_chan_map *map)
|
||||
int result;
|
||||
|
||||
for (i = 0; i < MAX_DMA_DEVICE_NUM; i++)
|
||||
dma_devs[i].device_name = &global_device_name[i];
|
||||
strcpy(dma_devs[i].device_name, global_device_name[i]);
|
||||
|
||||
for (i = 0; i < MAX_DMA_CHANNEL_NUM; i++) {
|
||||
dma_chan[i].irq = map[i].irq;
|
||||
|
@ -18,8 +18,8 @@
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/pm.h>
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/io.h>
|
||||
#include <asm/reboot.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/ifxmips/ifxmips.h>
|
||||
|
||||
|
@ -19,9 +19,10 @@
|
||||
|
||||
#include <linux/init.h>
|
||||
|
||||
#include <linux/time.h>
|
||||
|
||||
#include <linux/cpu.h>
|
||||
|
||||
#include <asm/time.h>
|
||||
#include <asm/traps.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/bootinfo.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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user