Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151104
b: refs/heads/master
c: 6664845
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky committed Jun 16, 2009
1 parent a924ac7 commit b0f9f5d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14532095dfe9e8faf2d314d9c2170f64737c7dff
refs/heads/master: 6664845cef13b0a224f43f6c46eddd0b3e018c04
1 change: 1 addition & 0 deletions trunk/arch/s390/include/asm/ccwdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
#define to_ccwdrv(n) container_of(n, struct ccw_driver, driver)

extern struct ccw_device *ccw_device_probe_console(void);
extern int ccw_device_force_console(void);

// FIXME: these have to go
extern int _ccw_device_get_subchannel_number(struct ccw_device *);
Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1789,6 +1789,15 @@ ccw_device_probe_console(void)
return &console_cdev;
}

static int ccw_device_pm_restore(struct device *dev);

int ccw_device_force_console(void)
{
if (!console_cdev_in_use)
return -ENODEV;
return ccw_device_pm_restore(&console_cdev.dev);
}
EXPORT_SYMBOL_GPL(ccw_device_force_console);

const char *cio_get_console_cdev_name(struct subchannel *sch)
{
Expand Down

0 comments on commit b0f9f5d

Please sign in to comment.