Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1171980
| From | Paul Bolle <pebolle@tiscali.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox. |
| Date | 2015-06-25 11:40 +0200 |
| Message-ID | <pFbNx-4Ne-43@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <pEANX-1RJ-3@gated-at.bofh.it> <pEZCF-3OS-5@gated-at.bofh.it> <pF9Vp-26R-49@gated-at.bofh.it> <pF9Vp-26R-47@gated-at.bofh.it> <pFbNx-4Ne-45@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 2015-06-25 at 09:47 +0200, Michal Simek wrote: > It has to be platform_device somewhere for sure. > In past we had folder in arch/microblaze/platform folder. > Currently you can add this code to for example > arch/microblaze/kernel/platform.c > > But as I said I don't think it is really important. There will be a > lot > of others drivers in the kernel which can be used as platform drivers > but you are not able to find out platform_device for it. Because, like probably happens with this driver, the OF infrastructure makes sure the .probe and .remove functions will eventually called? > The important part is that driver can work as is. Sure. But I was talking about the MODULE_ALIAS() macro. Trivial as it is, since I still don't see where a "MODALIAS=platform:xilinx-mailbox" uevent could come from I still don't see the point of this line. As I asked in my first message: what breaks if this line is dropped? > Also it is quite common that users create own BSP for their custom > boards but they don't push it to mainline. I can't recall what BSP means. Anyhow, why should we care about boards not pushed into mainline? Paul Bolle -- 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 | Find similar | Unroll thread
Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox. Paul Bolle <pebolle@tiscali.nl> - 2015-06-25 11:40 +0200
csiph-web