Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1527394
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name() |
| Date | 2016-11-22 11:50 +0100 |
| Message-ID | <sGgOd-61X-11@gated-at.bofh.it> (permalink) |
| References | <sGgOd-61X-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
In order to avoid a section mismatch use of_machine_get_compatible()
instead of of_flat_dt_get_machine_name() when printing the error
message.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
drivers/bus/da8xx-mstpri.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/da8xx-mstpri.c b/drivers/bus/da8xx-mstpri.c
index 85f0b53..41cbbe6 100644
--- a/drivers/bus/da8xx-mstpri.c
+++ b/drivers/bus/da8xx-mstpri.c
@@ -227,7 +227,7 @@ static int da8xx_mstpri_probe(struct platform_device *pdev)
prio_list = da8xx_mstpri_get_board_prio();
if (!prio_list) {
dev_err(dev, "no master priotities defined for board '%s'\n",
- of_flat_dt_get_machine_name());
+ of_machine_get_compatible());
return -EINVAL;
}
--
2.9.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] ARM: da8xx: fix section mismatch in new drivers Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 11:50 +0100
[PATCH 2/3] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 11:50 +0100
[PATCH 3/3] memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 11:50 +0100
[PATCH 1/3] of: base: add support to get machine compatible string Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 11:50 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-22 12:00 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 12:00 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-11-22 12:00 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-22 12:10 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sekhar Nori <nsekhar@ti.com> - 2016-11-22 13:20 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sekhar Nori <nsekhar@ti.com> - 2016-11-22 16:10 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-22 16:50 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sekhar Nori <nsekhar@ti.com> - 2016-11-23 09:00 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-23 11:10 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sekhar Nori <nsekhar@ti.com> - 2016-11-23 12:50 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sekhar Nori <nsekhar@ti.com> - 2016-11-23 13:20 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-23 13:20 +0100
Re: [PATCH 1/3] of: base: add support to get machine compatible string Sudeep Holla <sudeep.holla@arm.com> - 2016-11-23 13:20 +0100
csiph-web