libertas: make lbs_cmd() usage nicer
authorDan Williams <dcbw@redhat.com>
Mon, 10 Dec 2007 20:11:23 +0000 (15:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:36 +0000 (15:06 -0800)
commit14e865ba5d9e9adc90363e572743ac238935ba38
tree75da586b634bb14f7bdcfb6220a9345d2d35517c
parent4f679496567809ce1e95730c25274e1832537f4b
libertas: make lbs_cmd() usage nicer

Define a macro that relieves the caller from having to use sizeof on
the command structure when calling lbs_cmd(), and move the prototype
of __lbs_cmd() to a new cmd.h file.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h [new file with mode: 0644]
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/if_usb.c