Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1276449
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] net: dsa: fix build failure |
| Date | 2015-11-24 14:40 +0100 |
| Message-ID | <qylZ8-g8-3@gated-at.bofh.it> (permalink) |
| References | <qydoR-3c2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
We were getting build failure with allmodconfig of tile, tilegx, m32r and m68k
with the error:
implicit declaration of function 'gpio_to_desc'
implicit declaration of function 'gpiod_direction_output'
Fixes: cc30c16344fc ("net: dsa: Add support for a switch reset gpio")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
build log of next-20151124 at:
https://travis-ci.org/sudipm-mukherjee/parport/builds/92864660
net/dsa/dsa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 0b5565f..b7448c8 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -24,6 +24,7 @@
#include <linux/of_gpio.h>
#include <linux/sysfs.h>
#include <linux/phy_fixed.h>
+#include <linux/gpio/consumer.h>
#include "dsa_priv.h"
char dsa_driver_version[] = "0.1";
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
linux-next: Tree for Nov 24 Stephen Rothwell <sfr@canb.auug.org.au> - 2015-11-24 05:30 +0100 [PATCH] net: dsa: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-11-24 14:40 +0100
csiph-web