From: Dirk Behme <dirk.behme@de.bosch.com>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: [PATCH] Re: Git tree update, patches sent upstream
Date: Sun, 20 Nov 2005 19:13:19 +0100 [thread overview]
Message-ID: <4380BCBF.3010603@de.bosch.com> (raw)
In-Reply-To: <20051111171650.GA10822@atomide.com>
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
Tony Lindgren wrote:
> * David Brownell <david-b@pacbell.net> [051111 09:10]:
>
>>>error: `platform_bus_type' undeclared here (not in a function)
>>
>>#include <linux/platform_device.h> is now needed.
>
>
> It's best just replace <linux/device.h> with <linux/platform_device.h>,
> as it already includes <linux/device.h>.
Remove error
drivers/video/omap/omapfb_main.c:1395: error: `platform_bus_type'
undeclared here (not in a function)
sound/arm/omap-aic23.c:879: 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>
[-- Attachment #2: patch_platform_device.txt --]
[-- Type: text/plain, Size: 1331 bytes --]
--- ./sound/arm/omap-aic23.c_orig 2005-11-20 18:51:29.000000000 +0100
+++ ./sound/arm/omap-aic23.c 2005-11-20 19:03:50.682393232 +0100
@@ -39,7 +39,7 @@
#include <linux/config.h>
#include <sound/driver.h>
#include <linux/module.h>
-#include <linux/device.h>
+#include <linux/platform_device.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/errno.h>
@@ -668,7 +668,7 @@ static int snd_omap_aic23_resume(snd_car
/*
* 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);
@@ -678,7 +678,7 @@ static int omap_aic23_suspend(struct dev
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);
--- ./drivers/input/touchscreen/omap/omap_ts.c_orig 2005-11-20 18:35:31.000000000 +0100
+++ ./drivers/input/touchscreen/omap/omap_ts.c 2005-11-20 18:38:29.000000000 +0100
@@ -35,7 +35,7 @@
#include <linux/wait.h>
#include <linux/interrupt.h>
#include <linux/suspend.h>
-#include <linux/device.h>
+#include <linux/platform_device.h>
#include <asm/mach-types.h>
[-- Attachment #3: Type: text/plain, Size: 184 bytes --]
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
next parent reply other threads:[~2005-11-20 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <43745428.1428f2bd.23ee.0647@mx.gmail.com>
[not found] ` <200511110910.07129.david-b@pacbell.net>
[not found] ` <20051111171650.GA10822@atomide.com>
2005-11-20 18:13 ` Dirk Behme [this message]
2005-11-21 17:09 ` [PATCH] Re: Git tree update, patches sent upstream Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4380BCBF.3010603@de.bosch.com \
--to=dirk.behme@de.bosch.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.