Modified for fifo_misc scull.c