openwrtv4/target/linux/s3c24xx/patches-2.6.24/1136-This-fixes-the-exit-function-so-that-the-module-can.patch

27 lines
869 B
Diff
Raw Normal View History

From b22975802d893a8cc600757436d5dd4dcd5cf469 Mon Sep 17 00:00:00 2001
From: Tim Niemeyer <reddog@mastersword.de>
Date: Mon, 21 Apr 2008 21:08:40 +0100
Subject: [PATCH] This-fixes-the-exit-function-so-that-the-module-can.patch
Subject: [PATCH] This fixes the exit function, so that the module can be removed.
Signed-off-by: Tim Niemeyer <reddog@mastersword.de>
---
sound/soc/s3c24xx/neo1973_wm8753.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 65a4060..09641cc 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -698,6 +698,7 @@ static int __init neo1973_init(void)
static void __exit neo1973_exit(void)
{
+ i2c_del_driver(&lm4857_i2c_driver);
platform_device_unregister(neo1973_snd_device);
}
--
1.5.6.5