git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
char
/
dsp56k.c
diff --git
a/drivers/char/dsp56k.c
b/drivers/char/dsp56k.c
index
9b1bf60
..
06f2dbf
100644
(file)
--- a/
drivers/char/dsp56k.c
+++ b/
drivers/char/dsp56k.c
@@
-201,7
+201,7
@@
static int dsp56k_upload(u_char __user *bin, int len)
static ssize_t dsp56k_read(struct file *file, char __user *buf, size_t count,
loff_t *ppos)
{
static ssize_t dsp56k_read(struct file *file, char __user *buf, size_t count,
loff_t *ppos)
{
- struct inode *inode = file->f_dentry->d_inode;
+ struct inode *inode = file->f_
path.
dentry->d_inode;
int dev = iminor(inode) & 0x0f;
switch(dev)
int dev = iminor(inode) & 0x0f;
switch(dev)
@@
-264,7
+264,7
@@
static ssize_t dsp56k_read(struct file *file, char __user *buf, size_t count,
static ssize_t dsp56k_write(struct file *file, const char __user *buf, size_t count,
loff_t *ppos)
{
static ssize_t dsp56k_write(struct file *file, const char __user *buf, size_t count,
loff_t *ppos)
{
- struct inode *inode = file->f_dentry->d_inode;
+ struct inode *inode = file->f_
path.
dentry->d_inode;
int dev = iminor(inode) & 0x0f;
switch(dev)
int dev = iminor(inode) & 0x0f;
switch(dev)
@@
-420,7
+420,7
@@
static int dsp56k_ioctl(struct inode *inode, struct file *file,
#if 0
static unsigned int dsp56k_poll(struct file *file, poll_table *wait)
{
#if 0
static unsigned int dsp56k_poll(struct file *file, poll_table *wait)
{
- int dev = iminor(file->f_dentry->d_inode) & 0x0f;
+ int dev = iminor(file->f_
path.
dentry->d_inode) & 0x0f;
switch(dev)
{
switch(dev)
{