Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44757
b: refs/heads/master
c: fd38451
h: refs/heads/master
i:
  44755: 4846e0c
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 20, 2006
1 parent 0de4f7e commit 6270e75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb8b50078458ba74c3d3f7bf05f5ddc27b88f051
refs/heads/master: fd38451f1512fd5230e3c5dcc66d1ca867af879b
5 changes: 4 additions & 1 deletion trunk/drivers/char/viotape.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

#include <asm/uaccess.h>
#include <asm/ioctls.h>

#include <asm/firmware.h>
#include <asm/vio.h>
#include <asm/iseries/vio.h>
#include <asm/iseries/hv_lp_event.h>
Expand Down Expand Up @@ -997,6 +997,9 @@ int __init viotap_init(void)
int ret;
struct proc_dir_entry *e;

if (!firmware_has_feature(FW_FEATURE_ISERIES))
return -ENODEV;

op_struct_list = NULL;
if ((ret = add_op_structs(VIOTAPE_MAXREQ)) < 0) {
printk(VIOTAPE_KERN_WARN "couldn't allocate op structs\n");
Expand Down

0 comments on commit 6270e75

Please sign in to comment.