we don't need the export for all functions
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@390 766a2236-cff9-0310-b0c0-a81a5f92509a
This commit is contained in:
parent
24c36a0d8d
commit
8efdba0c21
12
llmgmt.c
12
llmgmt.c
@ -46,7 +46,7 @@ ssize_t fpgafs_send_data(struct file *file, const char __user *buf,
|
|||||||
lldrv[fcur->lldrv]->send(fcur, buf, len)
|
lldrv[fcur->lldrv]->send(fcur, buf, len)
|
||||||
: -EBUSY;
|
: -EBUSY;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_send_data);
|
//EXPORT_SYMBOL_GPL(fpgafs_send_data);
|
||||||
|
|
||||||
ssize_t fpgafs_recv_data(struct file *file, char __user *buf,
|
ssize_t fpgafs_recv_data(struct file *file, char __user *buf,
|
||||||
size_t len, loff_t *pos)
|
size_t len, loff_t *pos)
|
||||||
@ -56,7 +56,7 @@ ssize_t fpgafs_recv_data(struct file *file, char __user *buf,
|
|||||||
lldrv[fcur->lldrv]->recv(fcur, buf, len)
|
lldrv[fcur->lldrv]->recv(fcur, buf, len)
|
||||||
: -EBUSY;
|
: -EBUSY;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_recv_data);
|
//EXPORT_SYMBOL_GPL(fpgafs_recv_data);
|
||||||
|
|
||||||
ssize_t fpgafs_write_load(struct file *file, const char __user *buf,
|
ssize_t fpgafs_write_load(struct file *file, const char __user *buf,
|
||||||
size_t len, loff_t *pos)
|
size_t len, loff_t *pos)
|
||||||
@ -66,7 +66,7 @@ ssize_t fpgafs_write_load(struct file *file, const char __user *buf,
|
|||||||
lldrv[fcur->lldrv]->write_load(fcur, buf, len)
|
lldrv[fcur->lldrv]->write_load(fcur, buf, len)
|
||||||
: -EBUSY;
|
: -EBUSY;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_write_load);
|
//EXPORT_SYMBOL_GPL(fpgafs_write_load);
|
||||||
|
|
||||||
ssize_t fpgafs_read_load(struct file *file, char __user *buf,
|
ssize_t fpgafs_read_load(struct file *file, char __user *buf,
|
||||||
size_t len, loff_t *pos)
|
size_t len, loff_t *pos)
|
||||||
@ -76,7 +76,7 @@ ssize_t fpgafs_read_load(struct file *file, char __user *buf,
|
|||||||
lldrv[fcur->lldrv]->read_load(fcur, buf, len)
|
lldrv[fcur->lldrv]->read_load(fcur, buf, len)
|
||||||
: -EBUSY;
|
: -EBUSY;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_read_load);
|
//EXPORT_SYMBOL_GPL(fpgafs_read_load);
|
||||||
|
|
||||||
/* set/get current low level driver */
|
/* set/get current low level driver */
|
||||||
ssize_t fpgafs_read_lldrv(struct file *file, char __user *buf,
|
ssize_t fpgafs_read_lldrv(struct file *file, char __user *buf,
|
||||||
@ -92,7 +92,7 @@ ssize_t fpgafs_read_lldrv(struct file *file, char __user *buf,
|
|||||||
}
|
}
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_read_lldrv);
|
//EXPORT_SYMBOL_GPL(fpgafs_read_lldrv);
|
||||||
|
|
||||||
ssize_t fpgafs_write_lldrv(struct file *file, const char __user *buf,
|
ssize_t fpgafs_write_lldrv(struct file *file, const char __user *buf,
|
||||||
size_t len, loff_t *pos)
|
size_t len, loff_t *pos)
|
||||||
@ -126,7 +126,7 @@ ssize_t fpgafs_write_lldrv(struct file *file, const char __user *buf,
|
|||||||
fcur->lldrv = -1;
|
fcur->lldrv = -1;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(fpgafs_write_lldrv);
|
//EXPORT_SYMBOL_GPL(fpgafs_write_lldrv);
|
||||||
|
|
||||||
/* low level un-/register functions */
|
/* low level un-/register functions */
|
||||||
int fpgafs_register_lldrv(struct fpgafs_lldrv *drv)
|
int fpgafs_register_lldrv(struct fpgafs_lldrv *drv)
|
||||||
|
Loading…
Reference in New Issue
Block a user