From: Len Brown <lenb@kernel.org>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, bunk@stusta.de
Subject: Re: [patch 18/19] ACPI: make code static
Date: Wed, 20 Dec 2006 17:02:45 -0500 [thread overview]
Message-ID: <200612201702.46156.lenb@kernel.org> (raw)
In-Reply-To: <200612192056.kBJKuOEJ010065@shell0.pdx.osdl.net>
Applied.
thanks,
-Len
On Tuesday 19 December 2006 15:56, akpm@osdl.org wrote:
> From: Adrian Bunk <bunk@stusta.de>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> Cc: "Brown, Len" <len.brown@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/acpi/bus.c | 2 +-
> drivers/acpi/dock.c | 4 ++--
> drivers/acpi/pci_bind.c | 4 ++--
> include/acpi/acpi_bus.h | 2 --
> include/acpi/acpi_drivers.h | 2 --
> 5 files changed, 5 insertions(+), 9 deletions(-)
>
> diff -puN drivers/acpi/bus.c~acpi-make-code-static drivers/acpi/bus.c
> --- a/drivers/acpi/bus.c~acpi-make-code-static
> +++ a/drivers/acpi/bus.c
> @@ -728,7 +728,7 @@ static int __init acpi_bus_init(void)
> return -ENODEV;
> }
>
> -decl_subsys(acpi, NULL, NULL);
> +static decl_subsys(acpi, NULL, NULL);
>
> static int __init acpi_init(void)
> {
> diff -puN drivers/acpi/dock.c~acpi-make-code-static drivers/acpi/dock.c
> --- a/drivers/acpi/dock.c~acpi-make-code-static
> +++ a/drivers/acpi/dock.c
> @@ -641,7 +641,7 @@ static ssize_t show_docked(struct device
> return snprintf(buf, PAGE_SIZE, "%d\n", dock_present(dock_station));
>
> }
> -DEVICE_ATTR(docked, S_IRUGO, show_docked, NULL);
> +static DEVICE_ATTR(docked, S_IRUGO, show_docked, NULL);
>
> /*
> * write_undock - write method for "undock" file in sysfs
> @@ -657,7 +657,7 @@ static ssize_t write_undock(struct devic
> ret = handle_eject_request(dock_station, ACPI_NOTIFY_EJECT_REQUEST);
> return ret ? ret: count;
> }
> -DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock);
> +static DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock);
>
> /**
> * dock_add - add a new dock station
> diff -puN drivers/acpi/pci_bind.c~acpi-make-code-static drivers/acpi/pci_bind.c
> --- a/drivers/acpi/pci_bind.c~acpi-make-code-static
> +++ a/drivers/acpi/pci_bind.c
> @@ -106,7 +106,7 @@ acpi_status acpi_get_pci_id(acpi_handle
>
> EXPORT_SYMBOL(acpi_get_pci_id);
>
> -int acpi_pci_bind(struct acpi_device *device)
> +static int acpi_pci_bind(struct acpi_device *device)
> {
> int result = 0;
> acpi_status status = AE_OK;
> @@ -267,7 +267,7 @@ int acpi_pci_bind(struct acpi_device *de
> return result;
> }
>
> -int acpi_pci_unbind(struct acpi_device *device)
> +static int acpi_pci_unbind(struct acpi_device *device)
> {
> int result = 0;
> acpi_status status = AE_OK;
> diff -puN include/acpi/acpi_bus.h~acpi-make-code-static include/acpi/acpi_bus.h
> --- a/include/acpi/acpi_bus.h~acpi-make-code-static
> +++ a/include/acpi/acpi_bus.h
> @@ -315,8 +315,6 @@ struct acpi_bus_event {
> u32 data;
> };
>
> -extern struct subsystem acpi_subsys;
> -
> /*
> * External Functions
> */
> diff -puN include/acpi/acpi_drivers.h~acpi-make-code-static include/acpi/acpi_drivers.h
> --- a/include/acpi/acpi_drivers.h~acpi-make-code-static
> +++ a/include/acpi/acpi_drivers.h
> @@ -66,8 +66,6 @@ void acpi_pci_irq_del_prt(int segment, i
> struct pci_bus;
>
> acpi_status acpi_get_pci_id(acpi_handle handle, struct acpi_pci_id *id);
> -int acpi_pci_bind(struct acpi_device *device);
> -int acpi_pci_unbind(struct acpi_device *device);
> int acpi_pci_bind_root(struct acpi_device *device, struct acpi_pci_id *id,
> struct pci_bus *bus);
>
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2006-12-20 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-19 20:56 [patch 18/19] ACPI: make code static akpm
2006-12-20 22:02 ` Len Brown [this message]
2006-12-20 22:20 ` Len Brown
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=200612201702.46156.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=linux-acpi@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.