linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@linen.sps.mot.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, rmk@arm.linux.org.uk, greg@kroah.com
Subject: [PATCH] Add prototypes for platform_get_resource_byname & platform_get_resource_byirq
Date: Wed, 8 Dec 2004 17:26:40 -0600 (CST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0412081723190.4069@linen.sps.mot.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0412081703030.4040@linen.sps.mot.com>

Adds the prototypes forgotten in the initial patch for 
platform_get_resource_byname & platform_get_resource_byirq.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>

--

diff -Nru a/include/linux/device.h b/include/linux/device.h
--- a/include/linux/device.h	2004-12-08 17:22:36 -06:00
+++ b/include/linux/device.h	2004-12-08 17:22:36 -06:00
@@ -382,6 +382,8 @@
 
 extern struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int);
 extern int platform_get_irq(struct platform_device *, unsigned int);
+extern struct resource *platform_get_resource_byname(struct platform_device *, unsigned int, char *);
+extern int platform_get_irq_byname(struct platform_device *, char *);
 extern int platform_add_devices(struct platform_device **, int);
 
 extern struct platform_device *platform_device_register_simple(char *, unsigned int, struct resource *, unsigned int);


  reply	other threads:[~2004-12-08 23:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 23:16 [RFC][PATCH] Add platform_get_resource_byname & platform_get_resource_byirq Kumar Gala
2004-12-08 23:26 ` Kumar Gala [this message]
2004-12-09  0:03 ` Kumar Gala
2004-12-17 22:11 ` Greg KH
2005-01-04 15:53   ` Kumar Gala
2005-01-11  1:19     ` Greg KH

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=Pine.LNX.4.61.0412081723190.4069@linen.sps.mot.com \
    --to=galak@linen.sps.mot.com \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).