Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603841 > unrolled thread
| Started by | Anatolij Gustschin <agust@denx.de> |
|---|---|
| First post | 2017-03-18 20:00 +0100 |
| Last post | 2017-03-21 00:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v5 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP. Anatolij Gustschin <agust@denx.de> - 2017-03-18 20:00 +0100
Re: [PATCH v5 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP. matthew.gerlach@linux.intel.com - 2017-03-21 00:50 +0100
| From | Anatolij Gustschin <agust@denx.de> |
|---|---|
| Date | 2017-03-18 20:00 +0100 |
| Subject | Re: [PATCH v5 4/4] fpga pr ip: Platform driver for Altera Partial Reconfiguration IP. |
| Message-ID | <tmrK2-27E-11@gated-at.bofh.it> |
Hi Matthew,
On Fri, 10 Mar 2017 11:40:27 -0800
matthew.gerlach@linux.intel.com matthew.gerlach@linux.intel.com wrote:
...
>+#include "altera-pr-ip-core.h"
Shouldn't we put this header to include/linux? Compiling the
out-of-tree modules using alt_pr_register/alt_pr_unregister
will not work if this header is in drivers/fpga.
...
>+
>+module_platform_driver(alt_pr_platform_driver);
Please add MODULE_LICENSE("GPL v2") here. Otherwise, when built as
a module it cannot be loaded because the alt_pr register/unregister
functions are exported as GPL only. Also please add module author
and description.
Thanks,
Anatolij
[toc] | [next] | [standalone]
| From | matthew.gerlach@linux.intel.com |
|---|---|
| Date | 2017-03-21 00:50 +0100 |
| Message-ID | <tnfdL-3vw-1@gated-at.bofh.it> |
| In reply to | #1603841 |
On Sat, 18 Mar 2017, Anatolij Gustschin wrote:
> Hi Matthew,
>
Hi Anatolij,
Thanks for all the feedback. I will create another patch set
incorporating your suggestions.
> On Fri, 10 Mar 2017 11:40:27 -0800
> matthew.gerlach@linux.intel.com matthew.gerlach@linux.intel.com wrote:
>
> ...
>> +#include "altera-pr-ip-core.h"
>
> Shouldn't we put this header to include/linux? Compiling the
> out-of-tree modules using alt_pr_register/alt_pr_unregister
> will not work if this header is in drivers/fpga.
I was not sure if someone would want to access these functions outside of
drivers/fpga. I think it does make sense to move it to
include/linux/fpga.
>
> ...
>> +
>> +module_platform_driver(alt_pr_platform_driver);
>
> Please add MODULE_LICENSE("GPL v2") here. Otherwise, when built as
> a module it cannot be loaded because the alt_pr register/unregister
> functions are exported as GPL only. Also please add module author
> and description.
>
Got it. Thanks!
> Thanks,
>
> Anatolij
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web