summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
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
parenteecbf54fdd164ec8e396caa5b093a183195cacdb (diff)
downloadlinux-stable-16c3bd35413126ae3e545ea5cd256c80ae755dd2.tar.gz
linux-stable-16c3bd35413126ae3e545ea5cd256c80ae755dd2.tar.bz2
linux-stable-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')
-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 */