Commit c16682e4 authored by Jeff Garzik's avatar Jeff Garzik Committed by Linus Torvalds

[PATCH] fix ppdev compile breakage

Cleaning up after viro ;-)
parent e82db6ca
...@@ -751,6 +751,8 @@ static struct file_operations pp_fops = { ...@@ -751,6 +751,8 @@ static struct file_operations pp_fops = {
static int __init ppdev_init (void) static int __init ppdev_init (void)
{ {
int i;
if (register_chrdev (PP_MAJOR, CHRDEV, &pp_fops)) { if (register_chrdev (PP_MAJOR, CHRDEV, &pp_fops)) {
printk (KERN_WARNING CHRDEV ": unable to get major %d\n", printk (KERN_WARNING CHRDEV ": unable to get major %d\n",
PP_MAJOR); PP_MAJOR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment