Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Arnd Bergmann
16c3bd35 eecbf54f

+1 -1
+1 -1
drivers/gpio/gpio-mxc.c
··· 33 33 #include <linux/of.h> 34 34 #include <linux/of_device.h> 35 35 #include <linux/module.h> 36 - #include <asm-generic/bug.h> 36 + #include <linux/bug.h> 37 37 38 38 enum mxc_gpio_hwtype { 39 39 IMX1_GPIO, /* runs on i.mx1 */