]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: fsl-mc: Add missing header
authorBogdan Purcareata <bogdan.purcareata@gmail.com>
Mon, 13 Feb 2017 16:40:41 +0000 (18:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 17:14:28 +0000 (09:14 -0800)
Compiling the fsl-mc bus driver will yield a couple of static analysis
errors:
warning: symbol 'fsl_mc_msi_domain_alloc_irqs' was not declared
warning: symbol 'fsl_mc_msi_domain_free_irqs' was not declared.
warning: symbol 'its_fsl_mc_msi_init' was not declared.
warning: symbol 'its_fsl_mc_msi_cleanup' was not declared.

Since these are properly declared, but the header is not included, add
it in the source files. This way the symbol is properly exported.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-msi.c
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c

index 7975c6e6fee327c563c099b6bef1bc5c35e9189b..b8b2c86e63d48f50dcf0e0a7bcd21730b85b14f4 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/irqdomain.h>
 #include <linux/msi.h>
 #include "../include/mc-bus.h"
+#include "fsl-mc-private.h"
 
 /*
  * Generate a unique ID identifying the interrupt (only used within the MSI
index 0e2c1b5e13b7736d20daea13d18769550b340d77..87e44712b56cbdb10b0eb9923b397aa46db2b70e 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/of.h>
 #include <linux/of_irq.h>
 #include "../include/mc-bus.h"
+#include "fsl-mc-private.h"
 
 static struct irq_chip its_msi_irq_chip = {
        .name = "ITS-fMSI",