]> git.baikalelectronics.ru Git - kernel.git/commit
staging: emxx_udc: Fix build error
authorSachin Kamat <sachin.kamat@samsung.com>
Mon, 23 Jun 2014 06:13:08 +0000 (11:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:59:02 +0000 (20:59 -0400)
commit11b518ce44998db5366f78433d381614b5dc64fe
tree82cbc3b2b3ee5b242f1592e5af52796b7f07e93d
parentbbac80a33e793e3560fefd7c7099dad2b8c912f0
staging: emxx_udc: Fix build error

devm_request_and_ioremap has been removed since commit a2882ec04653
("devres: remove devm_request_and_ioremap()") Use devm_ioremap_resource
instead. While at it, also remove redundant error message as it is now
handled by devm_ioremap_resource. Without this patch we get the following
build error:
drivers/staging/emxx_udc/emxx_udc.c:3370:2: error: implicit declaration of function ‘devm_request_and_ioremap’ [-Werror=implicit-function-declaration]

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c