Staging: dt3155: use the fbuffer pointer instead of looking it up
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 9 Jul 2010 17:13:36 +0000 (10:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 18:04:00 +0000 (11:04 -0700)
commit843894ada9433fd7eb3ecd4d0ae24807f1edb622
treedc20ce44cf47152e6cb26decc776399c5dc48b5f
parentdd85c9911d6eb44f398d07006a3c4ce57d36b7b9
Staging: dt3155: use the fbuffer pointer instead of looking it up

Instead of passing the minor number and having to look up the fbuffer, just
pass the fbuffer directly to the buffer management code.

Also, to make the code more consistent, change the push_empty() call so
that the fbuffer is passed as the first parameter.

Prototype the printques routine to avoid having to declare it as extern.

Cleanup some of the comments in dt3155_isr.h.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/dt3155/dt3155_drv.c
drivers/staging/dt3155/dt3155_isr.c
drivers/staging/dt3155/dt3155_isr.h