Skip to content

Commit

Permalink
Pull mbcs-init-sn-check into release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Luck committed Oct 11, 2005
2 parents f5154a9 + 96f339c commit 74e52aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/char/mbcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 74e52aa

Please sign in to comment.