From: Michal Simek <michal.simek@xilinx.com> To: linux-kernel@vger.kernel.org Cc: Michal Simek <monstr@monstr.eu>, Michal Simek <michal.simek@xilinx.com>, Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, Grant Likely <grant.likely@linaro.org>, Rob Herring <rob.herring@calxeda.com>, devicetree-discuss@lists.ozlabs.org Subject: [PATCH] of: Export of_irq_count for using in modules Date: Thu, 30 May 2013 15:49:43 +0200 [thread overview] Message-ID: <6aa29b1d109a46278a7f37b598defe07d6edfe60.1369921774.git.michal.simek@xilinx.com> (raw) [-- Attachment #1: Type: text/plain, Size: 726 bytes --] Export of_irq_count for modules. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- We are using this function in remoteproc module drivers. There is also drivers/gpio/gpio-mvebu.c in the tree which use this function but this driver can't be compiled as module. This could be also the reason why is not this driver as module. --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index a3c1c5a..c918dde 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -374,6 +374,7 @@ int of_irq_count(struct device_node *dev) return nr; } +EXPORT_SYMBOL_GPL(of_irq_count); /** * of_irq_to_resource_table - Fill in resource table with node's IRQ info -- 1.8.2.3 [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>, Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>, Grant Likely <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Subject: [PATCH] of: Export of_irq_count for using in modules Date: Thu, 30 May 2013 15:49:43 +0200 [thread overview] Message-ID: <6aa29b1d109a46278a7f37b598defe07d6edfe60.1369921774.git.michal.simek@xilinx.com> (raw) [-- Attachment #1.1: Type: text/plain, Size: 755 bytes --] Export of_irq_count for modules. Signed-off-by: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> --- We are using this function in remoteproc module drivers. There is also drivers/gpio/gpio-mvebu.c in the tree which use this function but this driver can't be compiled as module. This could be also the reason why is not this driver as module. --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index a3c1c5a..c918dde 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -374,6 +374,7 @@ int of_irq_count(struct device_node *dev) return nr; } +EXPORT_SYMBOL_GPL(of_irq_count); /** * of_irq_to_resource_table - Fill in resource table with node's IRQ info -- 1.8.2.3 [-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 192 bytes --] _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss
next reply other threads:[~2013-05-30 13:50 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-30 13:49 Michal Simek [this message] 2013-05-30 13:49 ` [PATCH] of: Export of_irq_count for using in modules Michal Simek 2013-05-30 20:17 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-30 20:17 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-31 8:14 ` Michal Simek 2013-05-31 8:14 ` Michal Simek 2013-05-31 11:00 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-31 11:00 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-31 13:57 ` Michal Simek 2013-05-31 13:57 ` Michal Simek 2013-05-31 15:16 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-31 15:16 ` Jean-Christophe PLAGNIOL-VILLARD 2013-05-31 16:45 ` Michal Simek 2013-06-06 8:29 ` Jean-Christophe PLAGNIOL-VILLARD 2013-06-06 8:39 ` Michal Simek 2013-06-06 11:55 ` Grant Likely 2013-06-06 13:26 ` Michal Simek 2013-06-06 14:49 ` Jean-Christophe PLAGNIOL-VILLARD [not found] ` <20130606144929.GI19834-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org> 2013-06-06 17:16 ` Michal Simek 2013-07-18 7:02 ` Michal Simek 2013-07-18 7:02 ` Michal Simek
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=6aa29b1d109a46278a7f37b598defe07d6edfe60.1369921774.git.michal.simek@xilinx.com \ --to=michal.simek@xilinx.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=grant.likely@linaro.org \ --cc=linux-kernel@vger.kernel.org \ --cc=monstr@monstr.eu \ --cc=rob.herring@calxeda.com \ --cc=thomas.petazzoni@free-electrons.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.