Skip to contentSkip to conversation

i2c: nomadik: Silence compiler warning

PATCH New Ulf Hansson 2 participants 2 messages Feb 23, 2014 – Feb 24, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: nomadik: Silence compiler warning

Commit "i2c: nomadik: Fixup deployment of runtime PM" introduced a compiler warning for !CONFIG_PM. Let's fix it here.

---

Wolfram, currently one of the queued patches for i2c nomadik introduced a compiler warning. I decided to add a fixup patch on top of these instead of you dropping them and me resending new versions of the already applied patches.

If you think it's better to drop the queued patches and to resend new verions, please tell me.

---
 drivers/i2c/busses/i2c-nomadik.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-nomadik.c +1 -1
index 8082f5c..5f47454 100644
@@ -895,7 +895,7 @@ static int nmk_i2c_resume_early(struct device *dev)
 }
 #endif
 
-#if CONFIG_PM
+#ifdef CONFIG_PM
 static int nmk_i2c_runtime_suspend(struct device *dev)
 {
 	struct amba_device *adev = to_amba_device(dev);
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 i2c: nomadik: Silence compiler warning

Quoted 4 lines · Ulf Hansson

Commit "i2c: nomadik: Fixup deployment of runtime PM" introduced a compiler warning for !CONFIG_PM. Let's fix it here.

Quoted 8 lines

---

Wolfram, currently one of the queued patches for i2c nomadik introduced a compiler warning. I decided to add a fixup patch on top of these instead of you dropping them and me resending new versions of the already applied patches.

If you think it's better to drop the queued patches and to resend new verions, please tell me.

I'll fold it into the causing patch since I haven't pushed out yet. I was waiting for Linus response to the bus speed question.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140224/486d924f/attachment-0001.sig>