All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>,
	Kristen Accardi <kristen.c.accardi@intel.com>
Cc: linux-kernel@vger.kernel.org, greg@kroah.com
Subject: [-mm patch] make pci/hotplug/acpiphp_glue.c:handle_hotplug_event_func() static
Date: Wed, 19 Apr 2006 00:10:26 +0200	[thread overview]
Message-ID: <20060418221026.GV11582@stusta.de> (raw)
In-Reply-To: <20060418031423.3cbef2f7.akpm@osdl.org>

On Tue, Apr 18, 2006 at 03:14:23AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-rc1-mm2:
>...
> +acpiphp-use-new-dock-driver.patch
>...
>  ACPI fixes and features
>...

handle_hotplug_event_func() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/pci/hotplug/acpiphp.h      |    1 -
 drivers/pci/hotplug/acpiphp_glue.c |    5 ++++-
 2 files changed, 4 insertions(+), 2 deletions(-)

--- linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp.h.old	2006-04-18 22:09:47.000000000 +0200
+++ linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp.h	2006-04-18 22:09:58.000000000 +0200
@@ -203,7 +203,6 @@
 extern void acpiphp_glue_exit (void);
 extern int acpiphp_get_num_slots (void);
 typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data);
-void handle_hotplug_event_func(acpi_handle, u32, void*);
 
 extern int acpiphp_enable_slot (struct acpiphp_slot *slot);
 extern int acpiphp_disable_slot (struct acpiphp_slot *slot);
--- linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp_glue.c.old	2006-04-18 22:10:26.000000000 +0200
+++ linux-2.6.17-rc1-mm3-full/drivers/pci/hotplug/acpiphp_glue.c	2006-04-18 22:11:01.000000000 +0200
@@ -59,6 +59,8 @@
 static void handle_hotplug_event_bridge (acpi_handle, u32, void *);
 static void acpiphp_sanitize_bus(struct pci_bus *bus);
 static void acpiphp_set_hpp_values(acpi_handle handle, struct pci_bus *bus);
+static void handle_hotplug_event_func(acpi_handle handle, u32 type,
+				      void *context);
 
 
 /*
@@ -1493,7 +1495,8 @@
  * handles ACPI event notification on slots
  *
  */
-void handle_hotplug_event_func(acpi_handle handle, u32 type, void *context)
+static void handle_hotplug_event_func(acpi_handle handle, u32 type,
+				      void *context)
 {
 	struct acpiphp_func *func;
 	char objname[64];


  parent reply	other threads:[~2006-04-18 22:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 10:14 2.6.17-rc1-mm3 Andrew Morton
2006-04-18 15:07 ` [-mm patch] fix VIDEO_DEV=m, VIDEO_V4L1_COMPAT=y Adrian Bunk
2006-04-18 22:10 ` Adrian Bunk [this message]
2006-04-18 22:14 ` [-mm patch] drivers/scsi/aic7xxx/: possible cleanups Adrian Bunk
2006-04-19 19:31   ` James Bottomley
2006-04-18 22:17 ` [-mm patch] kernel/power/snapshot.c: cleanups Adrian Bunk
2006-04-18 22:17   ` Adrian Bunk

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=20060418221026.GV11582@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.