summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mxc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-08-28 09:27:22 +0200
committerArnd Bergmann <arnd@arndb.de>2015-10-15 00:21:12 +0200
commit16c3bd35413126ae3e545ea5cd256c80ae755dd2 (patch)
treeef7dc156df65addfa5a8a68150e96f550e1e8e2d /drivers/gpio/gpio-mxc.c
parentn_tracesink: stop including <asm-generic/bug> (diff)
downloadlinux-16c3bd35413126ae3e545ea5cd256c80ae755dd2.tar.xz
linux-16c3bd35413126ae3e545ea5cd256c80ae755dd2.zip
gpio-mxc: stop including <asm-generic/bug>
<asm-generic/bug> contains the default implementation of BUG() and friends, which architectures may decide to use. The proper way to get them is <linux/bug.h>, so use that. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/gpio/gpio-mxc.c')
-rw-r--r--drivers/gpio/gpio-mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c
index b8dd847443c5..6ea8df6c7397 100644
--- a/drivers/gpio/gpio-mxc.c
+++ b/drivers/gpio/gpio-mxc.c
@@ -33,7 +33,7 @@
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/module.h>
-#include <asm-generic/bug.h>
+#include <linux/bug.h>
enum mxc_gpio_hwtype {
IMX1_GPIO, /* runs on i.mx1 */