diff mbox

SH: fix ap325rxa compilation breakage

Message ID Pine.LNX.4.64.0909021014190.4416@axis700.grange (mailing list archive)
State Accepted
Delegated to: Mauro Carvalho Chehab
Headers show

Commit Message

Guennadi Liakhovetski Sept. 2, 2009, 8:16 a.m. UTC
An unfortunate typo in an earlier patch broke ap325rxa compilation. Fix it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

Mauro, I understand, we'll have to add this as an incremental patch and 
live with the temporary ap325rxa breakage, right? Or would you be rebasing 
the -next git? Sorry about this.

 arch/sh/boards/board-ap325rxa.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c
index b633b25..48ab77e 100644
--- a/arch/sh/boards/board-ap325rxa.c
+++ b/arch/sh/boards/board-ap325rxa.c
@@ -359,8 +359,8 @@  static void ap325rxa_camera_del(struct soc_camera_link *icl)
 		return;
 
 	platform_device_unregister(&camera_device);
-	memset(&migor_camera_device.dev.kobj, 0,
-	       sizeof(migor_camera_device.dev.kobj));
+	memset(&camera_device.dev.kobj, 0,
+	       sizeof(camera_device.dev.kobj));
 }
 #endif /* CONFIG_I2C */