]> err.no Git - linux-2.6/commit
usb: net2280 can't have a function called show_registers()
authorDavid Howells <dhowells@redhat.com>
Fri, 8 Feb 2008 12:19:30 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:30 +0000 (09:22 -0800)
commit62fb44b9622e4c0e00f31fb27620d97a00ae3dc6
treeaf24a0a8c98ab5cbf7aa1d1f77d6b2cc85151179
parent1eb114112381eb66ebacdace1b6e70d30d603f9c
usb: net2280 can't have a function called show_registers()

net2280 can't have a function called show_registers() because this can produce
a namespace clash with an arch function of the same name.

All this driver's functions and variables should really be prefixed with
"net2280_" to avoid such a problem in future.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Greg KH <greg@kroah.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/gadget/net2280.c