Skip to content

Commit

Permalink
Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/aegl/linux-2.6
  • Loading branch information
Linus Torvalds committed Oct 13, 2005
2 parents 046d20b + 74e52aa commit 3384a04
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 3384a04

Please sign in to comment.