From: Nelson Castillo <[EMAIL PROTECTED]>
Some code was commented but now we need to comment two local
variables to avoid warnings.
Signed-off-by: Nelson Castillo <[EMAIL PROTECTED]>
---
drivers/i2c/i2c-core.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 7cd7b27..6b363cb 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -153,7 +153,9 @@ static void i2c_device_shutdown(struct device *dev)
static int i2c_device_suspend(struct device * dev, pm_message_t mesg)
{
+#if 0
struct i2c_driver *driver;
+#endif
if (!dev->driver)
return 0;
@@ -171,7 +173,9 @@ static int i2c_device_suspend(struct device * dev,
pm_message_t mesg)
static int i2c_device_resume(struct device * dev)
{
+#if 0
struct i2c_driver *driver;
+#endif
if (!dev->driver)
return 0;