Thread (10 messages) flat view 10 messages, 2 authors, 2016-08-29

[PATCH 2/4 v2] soc: qcom: add EBI2 driver

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-08-29 13:37:06
Also in: linux-arm-msm

On Monday 29 August 2016, Linus Walleij wrote:
quoted
quoted
+static struct platform_driver qcom_ebi2_driver = {
+     .probe = qcom_ebi2_probe,
+     .driver = {
+             .name = "qcom-ebi2",
+             .of_match_table = qcom_ebi2_of_match,
+     },
+};
+builtin_platform_driver(qcom_ebi2_driver);
Why not allow this to be a loadable module?
I don't see any point in it, it's so basic to be able to access the
MMIO devices on the platform, the plan was to select the driver
from the corresponding mach-qcom SoC type (MSM8660+APQ8060).

But I can make it a module instead, if preferred.
Ok, I expected this to be only for rare optional devices such as
NOR flash or the ethernet device from your example. If this is required
for booting a system, making it a module won't help much.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help