staging: fsl-dpaa2/eth: fix a couple of implicit includes
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 22 Jun 2017 12:52:10 +0000 (15:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jun 2017 16:41:34 +0000 (18:41 +0200)
dpni.c is using byte order macros and error codes but does
not explicitly include the required kernel header, so add it.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpni.c

index cea46edec6a2417e75756377f14f4fb68a42893a..2c4b1a89c2c14ce131d2019466b6b5ddedc0e64c 100644 (file)
@@ -30,6 +30,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#include <linux/kernel.h>
+#include <linux/errno.h>
 #include "../../fsl-mc/include/mc-sys.h"
 #include "../../fsl-mc/include/mc-cmd.h"
 #include "dpni.h"