mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
[S390] cio: Make ccw_device_register() static.
ccw_device_register() is only called from io_subchannel_register() and io_subchannel_probe() and will never be called for possible non-io subchannels. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
f3b017d8c9
commit
3c9da7ba04
@ -532,8 +532,7 @@ device_remove_files(struct device *dev)
|
||||
|
||||
/* this is a simple abstraction for device_register that sets the
|
||||
* correct bus type and adds the bus specific files */
|
||||
int
|
||||
ccw_device_register(struct ccw_device *cdev)
|
||||
static int ccw_device_register(struct ccw_device *cdev)
|
||||
{
|
||||
struct device *dev = &cdev->dev;
|
||||
int ret;
|
||||
|
@ -78,7 +78,6 @@ void io_subchannel_recog_done(struct ccw_device *cdev);
|
||||
|
||||
int ccw_device_cancel_halt_clear(struct ccw_device *);
|
||||
|
||||
int ccw_device_register(struct ccw_device *);
|
||||
void ccw_device_do_unreg_rereg(void *);
|
||||
void ccw_device_call_sch_unregister(void *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user