OSDN Git Service

staging: fsl-mc: dpio: remove foolish -Werror Makefile addtion
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:27:50 +0000 (17:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:27:50 +0000 (17:27 +0100)
commit0540bccdb5afe856958ed57b20e8e9a75ff9c3b7
treecda131c6de72a03c206d6d037970ac5b1234efe7
parenta4c4f360316ce0684335d2bf15b364b10b23c35a
staging: fsl-mc: dpio: remove foolish -Werror Makefile addtion

With the zillion different compilers out there, never use -Werror,
otherwise your code will end up breaking the build for odd reasons.

Like now, if this driver is enabled, it breaks the build due to a
function that could be marked static.  So it's obvious no one is even
paying attention to this driver :(

Cc: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dpio/Makefile