me8100.c
changeset 10 b560de13b236
parent 9 ed7a768ff898
child 11 a60ff25672a0
equal deleted inserted replaced
9:ed7a768ff898 10:b560de13b236
   583 
   583 
   584   info = &info_vec[device];
   584   info = &info_vec[device];
   585   subinfo = &info->subinfo[subdevice];
   585   subinfo = &info->subinfo[subdevice];
   586 
   586 
   587   /* Currently we can't support the old style minor numbers. */
   587   /* Currently we can't support the old style minor numbers. */
   588   if (subinfo < 0) {
   588   if (subdevice < 0) {
   589     printk(KERN_ERR "ME8100:me8100_open(): Bad subdevice %d\n", subdevice);
   589     printk(KERN_ERR "ME8100:me8100_open(): Bad subdevice %d\n", subdevice);
   590     return -ENODEV;
   590     return -ENODEV;
   591   }
   591   }
   592 
   592 
   593 
   593