[PATCH 0/2] Accelerometer driver unload

From: Yuri Ershov
Date: Fri Aug 27 2010 - 11:36:40 EST


Hello,

I2C part of lis3 accelerometer driver can be unloaded while in use which may
cause kernel oops.

These patches allow to change /dev/freefall file ops owner to prevent driver
unloading while device in use.

Please review.

Best regards,
Yuri

Yuri Kululin (2):
lis3: Add device owner
lis3: Set device owner

drivers/hwmon/lis3lv02d.c | 8 ++++++--
drivers/hwmon/lis3lv02d.h | 2 ++
drivers/hwmon/lis3lv02d_i2c.c | 2 ++
3 files changed, 10 insertions(+), 2 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/