diff options
author | Tony Luck <tony.luck@intel.com> | 2005-10-11 18:08:48 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-11 18:08:48 -0400 |
commit | 74e52aa561d5bb973075c2015133546b42cdc290 (patch) | |
tree | 3e8f269e99443bdb3cec6e23f3193dd696e6518e /drivers | |
parent | f5154a98a1931641f0448f6512294a15279110d7 (diff) | |
parent | 96f339c6b95344942fe5fce012ff4f2a3b2cb80d (diff) |
Pull mbcs-init-sn-check into release branch
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) | |||
830 | { | 830 | { |
831 | int rv; | 831 | int rv; |
832 | 832 | ||
833 | if (!ia64_platform_is("sn2")) | ||
834 | return -ENODEV; | ||
835 | |||
833 | // Put driver into chrdevs[]. Get major number. | 836 | // Put driver into chrdevs[]. Get major number. |
834 | rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops); | 837 | rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops); |
835 | if (rv < 0) { | 838 | if (rv < 0) { |