From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: [patch 03/15] cio: Make some structures and a function static.
Date: Thu, 10 May 2007 15:51:55 +0200 [thread overview]
Message-ID: <20070510135643.342303588@de.ibm.com> (raw)
In-Reply-To: 20070510135152.178104939@de.ibm.com
[-- Attachment #1: 003-cio-static.diff --]
[-- Type: text/plain, Size: 2209 bytes --]
From: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
drivers/s390/cio/css.c | 3 +--
drivers/s390/cio/css.h | 2 --
drivers/s390/cio/device.c | 4 ++--
3 files changed, 3 insertions(+), 6 deletions(-)
Index: quilt-2.6/drivers/s390/cio/css.c
===================================================================
--- quilt-2.6.orig/drivers/s390/cio/css.c
+++ quilt-2.6/drivers/s390/cio/css.c
@@ -191,8 +191,7 @@ static int css_register_subchannel(struc
return ret;
}
-int
-css_probe_device(struct subchannel_id schid)
+static int css_probe_device(struct subchannel_id schid)
{
int ret;
struct subchannel *sch;
Index: quilt-2.6/drivers/s390/cio/css.h
===================================================================
--- quilt-2.6.orig/drivers/s390/cio/css.h
+++ quilt-2.6/drivers/s390/cio/css.h
@@ -138,9 +138,7 @@ struct css_driver {
* all css_drivers have the css_bus_type
*/
extern struct bus_type css_bus_type;
-extern struct css_driver io_subchannel_driver;
-extern int css_probe_device(struct subchannel_id);
extern int css_sch_device_register(struct subchannel *);
extern void css_sch_device_unregister(struct subchannel *);
extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
Index: quilt-2.6/drivers/s390/cio/device.c
===================================================================
--- quilt-2.6.orig/drivers/s390/cio/device.c
+++ quilt-2.6/drivers/s390/cio/device.c
@@ -129,7 +129,7 @@ static void io_subchannel_verify(struct
static void io_subchannel_ioterm(struct device *);
static void io_subchannel_shutdown(struct subchannel *);
-struct css_driver io_subchannel_driver = {
+static struct css_driver io_subchannel_driver = {
.subchannel_type = SUBCHANNEL_TYPE_IO,
.drv = {
.name = "io_subchannel",
@@ -546,7 +546,7 @@ static struct attribute_group ccwdev_att
.attrs = ccwdev_attrs,
};
-struct attribute_group *ccwdev_attr_groups[] = {
+static struct attribute_group *ccwdev_attr_groups[] = {
&ccwdev_attr_group,
NULL,
};
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
next prev parent reply other threads:[~2007-05-10 13:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 13:51 [patch 00/15] s390 patches for 2.6.22 Martin Schwidefsky
2007-05-10 13:51 ` [patch 01/15] fix subsystem removal fallout Martin Schwidefsky
2007-05-10 13:51 ` [patch 02/15] cio: Get rid of _ccw_device_get_device_number() Martin Schwidefsky
2007-05-10 13:51 ` Martin Schwidefsky [this message]
2007-05-10 13:51 ` [patch 04/15] monreader inlining cleanup Martin Schwidefsky
2007-05-10 13:51 ` [patch 05/15] dasd: Fix modular build Martin Schwidefsky
2007-05-10 13:51 ` [patch 06/15] Avoid sparse warnings Martin Schwidefsky
2007-05-10 13:51 ` [patch 07/15] qdio: re-add lost perf_stats.tl_runs change in qdio_handle_pci Martin Schwidefsky
2007-05-10 13:52 ` [patch 08/15] Avoid compile warning Martin Schwidefsky
2007-05-10 13:52 ` [patch 09/15] Kconfig: refine depends statements Martin Schwidefsky
2007-05-10 13:52 ` [patch 10/15] Kconfig: menus with depends on HAS_IOMEM Martin Schwidefsky
2007-05-10 13:52 ` [patch 11/15] Kconfig: unwanted menus for s390 Martin Schwidefsky
2007-05-10 13:52 ` [patch 12/15] Kconfig: common config options " Martin Schwidefsky
2007-05-10 13:52 ` [patch 13/15] Kconfig: use common Kconfig files " Martin Schwidefsky
2007-05-10 13:52 ` [patch 14/15] Kconfig: no wireless on s390 Martin Schwidefsky
2007-05-10 13:52 ` [patch 15/15] update default configuration Martin Schwidefsky
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=20070510135643.342303588@de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@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.