mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Farine <robin.farine@terminus.org>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] LEDS: make default_trigger a const char *
Date: Wed, 6 Jun 2007 19:01:12 +0200	[thread overview]
Message-ID: <200706061901.12421.robin.farine@terminus.org> (raw)
In-Reply-To: <200706061857.50961.robin.farine@terminus.org>

From: Robin Farine <robin.farine@terminus.org>

Relax the restriction on what can be assigned to the 'default_trigger'
field.

Signed-off-by: Robin Farine <robin.farine@terminus.org>
---
 include/linux/leds.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/leds.h b/include/linux/leds.h
index 88afcef..958a14d 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -40,7 +40,7 @@ struct led_classdev {
 
 	struct class_device	*class_dev;
 	struct list_head	 node;			/* LED Device list */
-	char			*default_trigger;	/* Trigger to use */
+	const char		*default_trigger;	/* Trigger to use */
 
 #ifdef CONFIG_LEDS_TRIGGERS
 	/* Protects the trigger data below */
-- 
1.5.2.1


      reply	other threads:[~2007-06-06 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 16:57 [PATCH 0/2] generic LED driver Robin Farine
2007-06-06 17:01 ` Robin Farine [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=200706061901.12421.robin.farine@terminus.org \
    --to=robin.farine@terminus.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.net \
    /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®