|
@@ -75,17 +75,8 @@ static ssize_t eisa_eeprom_read(struct file * file,
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static int eisa_eeprom_ioctl(struct inode *inode, struct file *file,
|
|
|
- unsigned int cmd,
|
|
|
- unsigned long arg)
|
|
|
-{
|
|
|
- return -ENOTTY;
|
|
|
-}
|
|
|
-
|
|
|
static int eisa_eeprom_open(struct inode *inode, struct file *file)
|
|
|
{
|
|
|
- cycle_kernel_lock();
|
|
|
-
|
|
|
if (file->f_mode & FMODE_WRITE)
|
|
|
return -EINVAL;
|
|
|
|
|
@@ -104,7 +95,6 @@ static const struct file_operations eisa_eeprom_fops = {
|
|
|
.owner = THIS_MODULE,
|
|
|
.llseek = eisa_eeprom_llseek,
|
|
|
.read = eisa_eeprom_read,
|
|
|
- .ioctl = eisa_eeprom_ioctl,
|
|
|
.open = eisa_eeprom_open,
|
|
|
.release = eisa_eeprom_release,
|
|
|
};
|