Skip to content

Commit 16c3bd3

Browse files
Christoph Hellwigarndb
authored andcommitted
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>
1 parent eecbf54 commit 16c3bd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpio/gpio-mxc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <linux/of.h>
3434
#include <linux/of_device.h>
3535
#include <linux/module.h>
36-
#include <asm-generic/bug.h>
36+
#include <linux/bug.h>
3737

3838
enum mxc_gpio_hwtype {
3939
IMX1_GPIO, /* runs on i.mx1 */

0 commit comments

Comments
 (0)