diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-18 17:16:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-18 17:16:06 -0400 |
commit | 5a476deff3d17093da39c4eccb2692ba714dcb11 (patch) | |
tree | 16f5c745a3c8ac780a218ad3d43e32f33164bcf5 /drivers/char/mbcs.c | |
parent | dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a (diff) | |
parent | 39ca371c45b04cd50d0974030ae051906fc516b6 (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/char/mbcs.c')
-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 3fa64c63110..c268ee04b2a 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) { |