]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit674704f511a4cf558fa33bae06b0f3a9f7c799ee
treedc20ce44cf47152e6cb26decc776399c5dc48b5f
parent5b7c8f31336e8ecdb5c7c145d5258aef3330c754
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