Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
This commit is contained in:
commit
3384a04ed4
1 changed files with 3 additions and 0 deletions
|
@ -830,6 +830,9 @@ static int __init mbcs_init(void)
|
||||||
{
|
{
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
|
if (!ia64_platform_is("sn2"))
|
||||||
|
return -ENODEV;
|
||||||
|
|
||||||
// Put driver into chrdevs[]. Get major number.
|
// Put driver into chrdevs[]. Get major number.
|
||||||
rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops);
|
rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops);
|
||||||
if (rv < 0) {
|
if (rv < 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue