OSDN Git Service

mei: use structured buffer for the write buffer
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 25 Dec 2012 17:06:10 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:31:29 +0000 (10:31 -0800)
commite46f187487a8c28e64417e51ba628746a5397838
tree484cc0102c738d7aae646822baabd71ad715eaf9
parentcd51ed649fa4bd55c6a78db52b57260797ed56b4
mei: use structured buffer for the write buffer

We can drop useless castings and use proper types.
We remove the casting in mei_hbm_hdr function
and add new function mei_hbm_stop_request_prepare that
utilize the new structure

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/hbm.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/mei_dev.h
drivers/misc/mei/wd.c