Re: [PATCH 1/7] w35und: inline DRIVER_AUTHOR and DRIVER_DESC macros

From: Pavel Machek
Date: Thu Oct 30 2008 - 15:15:31 EST


On Thu 2008-10-30 18:12:01, Pekka Enberg wrote:
> They're used in one place so we can inline them.

Acked-by: Pavel Machek <pavel@xxxxxxx>

Ok, perhaps I should add myself to the list ;-)...
Pavel

> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
> ---
> drivers/staging/winbond/wbusb.c | 4 ++--
> drivers/staging/winbond/wbusb_s.h | 3 ---
> 2 files changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c
> index 40bb77c..67847c8 100644
> --- a/drivers/staging/winbond/wbusb.c
> +++ b/drivers/staging/winbond/wbusb.c
> @@ -11,8 +11,8 @@
> #include "wbhal_f.h"
> #include "wblinux_f.h"
>
> -MODULE_AUTHOR(DRIVER_AUTHOR);
> -MODULE_DESCRIPTION(DRIVER_DESC);
> +MODULE_AUTHOR("Original by: Jeff Lee<YY_Lee@xxxxxxxxxxx> Adapted to 2.6.x by Costantino Leandro (Rxart Desktop) <le_costantino@xxxxxxxxxxxxxxxxxxxxxx>");
> +MODULE_DESCRIPTION("IS89C35 802.11bg WLAN USB Driver");
> MODULE_LICENSE("GPL");
> MODULE_VERSION("0.1");
>
> diff --git a/drivers/staging/winbond/wbusb_s.h b/drivers/staging/winbond/wbusb_s.h
> index 1aa8ab1..1de9360 100644
> --- a/drivers/staging/winbond/wbusb_s.h
> +++ b/drivers/staging/winbond/wbusb_s.h
> @@ -28,9 +28,6 @@ typedef struct _RW_CONTEXT
> void* pCallBackFunctionParameter;
> } RW_CONTEXT, *PRW_CONTEXT;
>
> -#define DRIVER_AUTHOR "Original by: Jeff Lee<YY_Lee@xxxxxxxxxxx> Adapted to 2.6.x by Costantino Leandro (Rxart Desktop) <le_costantino@xxxxxxxxxxxxxxxxxxxxxx>"
> -#define DRIVER_DESC "IS89C35 802.11bg WLAN USB Driver"
> -
> typedef struct _WBUSB {
> u32 IsUsb20;
> struct usb_device *udev;

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/