diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-13 16:10:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-13 16:10:54 -0700 |
commit | 3384a04ed42c583755226374e1ff6a53db7f27c3 (patch) | |
tree | 91f0138bb69ba1afe7302df4b285ef760d96f426 /drivers | |
parent | 046d20b73960b7a2474b6d5e920d54c3fd7c23fe (diff) | |
parent | 74e52aa561d5bb973075c2015133546b42cdc290 (diff) | |
download | linux-3384a04ed42c583755226374e1ff6a53db7f27c3.tar.gz linux-3384a04ed42c583755226374e1ff6a53db7f27c3.tar.bz2 linux-3384a04ed42c583755226374e1ff6a53db7f27c3.zip |
Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/mbcs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 3fa64c631108..c268ee04b2aa 100644 --- 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) { |