From: Randy Dunlap <randy.dunlap@oracle.com>
To: Sebastian Siewior <sebastian@breakpoint.cc>
Cc: linux-kernel@vger.kernel.org, Pierre Ossman <drzeus@drzeus.cx>
Subject: Re: [PATCH] [mmc] fix compile without LED Triggers
Date: Fri, 12 Oct 2007 16:13:00 -0700 [thread overview]
Message-ID: <20071012161300.ff4f6e0b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <E1IgSxy-0003pj-Ik@Chamillionaire.breakpoint.cc>
On Sat, 13 Oct 2007 00:25:15 +0200 Sebastian Siewior wrote:
> drivers/mmc/core/host.c: In function 'mmc_remove_host':
> drivers/mmc/core/host.c:146: error: implicit declaration of function 'led_trigger_unregister'
> drivers/mmc/core/host.c:146: error: 'struct mmc_host' has no member named 'led'
>
> Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
> ---
> include/linux/leds.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/leds.h b/include/linux/leds.h
> index dc1178f..24c4830 100644
> --- a/include/linux/leds.h
> +++ b/include/linux/leds.h
> @@ -98,6 +98,7 @@ extern void led_trigger_event(struct led_trigger *trigger,
> #define DEFINE_LED_TRIGGER_GLOBAL(x)
> #define led_trigger_register_simple(x, y) do {} while(0)
> #define led_trigger_unregister_simple(x) do {} while(0)
> +#define led_trigger_unregister(x) do {} while(0)
> #define led_trigger_event(x, y) do {} while(0)
>
> #endif
or this patch that was posted earlier:
http://lkml.org/lkml/2007/10/12/380
---
~Randy
prev parent reply other threads:[~2007-10-12 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 22:25 Sebastian Siewior
2007-10-12 23:13 ` Randy Dunlap [this message]
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=20071012161300.ff4f6e0b.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=drzeus@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
--cc=sebastian@breakpoint.cc \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®