I am getting the following warn drivers/net/usb/rtl8150.c:30:0: warning: "RSR" redefined arch/xtensa/include/asm/processor.h:189:0: note: this is the location of the previous definition
I wanted to remove RSR as it is not being used but it is not clear if being used for documenting purpose. undefining should be enough. Signed-off-by: Nick Krause <xerofo...@gmail.com> --- drivers/net/usb/rtl8150.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 6e87e57..7d9a6ba 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c @@ -21,6 +21,10 @@ #define DRIVER_AUTHOR "Petko Manolov <pet...@users.sourceforge.net>" #define DRIVER_DESC "rtl8150 based usb-ethernet driver" +#ifdef RSR +#undef RSR +#endif + #define IDR 0x0120 #define MAR 0x0126 #define CR 0x012e -- 2.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/