usb: gadget: add multiple definition guards
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Mon, 11 Jun 2012 09:13:15 +0000 (11:13 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 16:52:23 +0000 (19:52 +0300)
commitea0e627623e236e4cbec9f44b4a755bc4a4b852d
tree988cdfdaa5a8a3d6c23e8ec3d092390263599caa
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
usb: gadget: add multiple definition guards

If f_fs.c and u_serial.c are combined together using #include, which has
been a common practice so far, the pr_vdebug macro is defined multiple
times. Define it only once.

Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_fs.c
drivers/usb/gadget/u_serial.c