Code Review
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
046d20b
)
Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 13 Oct 2005 23:10:54 +0000
(16:10 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 13 Oct 2005 23:10:54 +0000
(16:10 -0700)
drivers/char/mbcs.c
patch
|
blob
|
history
diff --git
a/drivers/char/mbcs.c
b/drivers/char/mbcs.c
index 3fa64c63110864597f6fb5d32a3d40ebe0d84384..c268ee04b2aa31d40db4bf58931d1bef75f7b0ad 100644
(file)
--- a/
drivers/char/mbcs.c
+++ b/
drivers/char/mbcs.c
@@
-830,6
+830,9
@@
static int __init mbcs_init(void)
{
int rv;
+ if (!ia64_platform_is("sn2"))
+ return -ENODEV;
+
// Put driver into chrdevs[]. Get major number.
rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops);
if (rv < 0) {