aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10/drivers/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v10/drivers/eeprom.c')
-rw-r--r--arch/cris/arch-v10/drivers/eeprom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/drivers/eeprom.c b/arch/cris/arch-v10/drivers/eeprom.c
index c3405507a3d1..5047a33043bd 100644
--- a/arch/cris/arch-v10/drivers/eeprom.c
+++ b/arch/cris/arch-v10/drivers/eeprom.c
@@ -28,7 +28,6 @@
28#include <linux/init.h> 28#include <linux/init.h>
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/interrupt.h> 30#include <linux/interrupt.h>
31#include <linux/smp_lock.h>
32#include <linux/wait.h> 31#include <linux/wait.h>
33#include <asm/uaccess.h> 32#include <asm/uaccess.h>
34#include "i2c.h" 33#include "i2c.h"
@@ -376,7 +375,6 @@ int __init eeprom_init(void)
376/* Opens the device. */ 375/* Opens the device. */
377static int eeprom_open(struct inode * inode, struct file * file) 376static int eeprom_open(struct inode * inode, struct file * file)
378{ 377{
379 cycle_kernel_lock();
380 if(iminor(inode) != EEPROM_MINOR_NR) 378 if(iminor(inode) != EEPROM_MINOR_NR)
381 return -ENXIO; 379 return -ENXIO;
382 if(imajor(inode) != EEPROM_MAJOR_NR) 380 if(imajor(inode) != EEPROM_MAJOR_NR)