aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cio.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-09-11 04:28:27 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-11 04:29:41 -0400
commit3ac276f8cb020adbbc3399c47edc1100748c2c16 (patch)
tree29fd488b61bcc9ece510f10d4c1bb4966e664b1a /drivers/s390/cio/cio.h
parent3b554a14f4bdf754ba9d2f64c2b6edf8dafe93b9 (diff)
[S390] cio: remove ccw_device init_name
We used the init_name to set the console ccw_device's name early at the boot stage. This patch moves the name setting (for all ccw devices) to the point where we actually register the device. At this time we can do dynamic allocations and therefore use dev_set_name. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio.h')
-rw-r--r--drivers/s390/cio/cio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/cio/cio.h b/drivers/s390/cio/cio.h
index 883e19d83e4..2e43558c704 100644
--- a/drivers/s390/cio/cio.h
+++ b/drivers/s390/cio/cio.h
@@ -133,13 +133,11 @@ extern int cio_is_console(struct subchannel_id);
133extern struct subchannel *cio_get_console_subchannel(void); 133extern struct subchannel *cio_get_console_subchannel(void);
134extern spinlock_t * cio_get_console_lock(void); 134extern spinlock_t * cio_get_console_lock(void);
135extern void *cio_get_console_priv(void); 135extern void *cio_get_console_priv(void);
136extern const char *cio_get_console_cdev_name(struct subchannel *sch);
137#else 136#else
138#define cio_is_console(schid) 0 137#define cio_is_console(schid) 0
139#define cio_get_console_subchannel() NULL 138#define cio_get_console_subchannel() NULL
140#define cio_get_console_lock() NULL 139#define cio_get_console_lock() NULL
141#define cio_get_console_priv() NULL 140#define cio_get_console_priv() NULL
142#define cio_get_console_cdev_name(sch) NULL
143#endif 141#endif
144 142
145#endif 143#endif