Commit 68c7c42d authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Remove error

drivers/video/omap/omapfb_main.c:1395: error: platform_bus_type' undeclared here
(not in a function)

Remove warning

sound/arm/omap-aic23.c:882: warning: initialization from incompatible
pointer type
sound/arm/omap-aic23.c:883: warning: initialization from incompatible
pointer type

Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 3fc57121
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/device.h> #include <linux/platform_device.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <linux/config.h> #include <linux/config.h>
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/device.h> #include <linux/platform_device.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/errno.h> #include <linux/errno.h>
...@@ -668,7 +668,7 @@ static int snd_omap_aic23_resume(snd_card_t * card) ...@@ -668,7 +668,7 @@ static int snd_omap_aic23_resume(snd_card_t * card)
/* /*
* Driver suspend/resume - calls alsa functions. Some hints from aaci.c * Driver suspend/resume - calls alsa functions. Some hints from aaci.c
*/ */
static int omap_aic23_suspend(struct device *dev, pm_message_t state, u32 level) static int omap_aic23_suspend(struct device *dev, pm_message_t state)
{ {
snd_card_t *card = dev_get_drvdata(dev); snd_card_t *card = dev_get_drvdata(dev);
...@@ -678,7 +678,7 @@ static int omap_aic23_suspend(struct device *dev, pm_message_t state, u32 level) ...@@ -678,7 +678,7 @@ static int omap_aic23_suspend(struct device *dev, pm_message_t state, u32 level)
return 0; return 0;
} }
static int omap_aic23_resume(struct device *dev, u32 level) static int omap_aic23_resume(struct device *dev)
{ {
snd_card_t *card = dev_get_drvdata(dev); snd_card_t *card = dev_get_drvdata(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment