From: bgolaszewski@baylibre.com (Bartosz Golaszewski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] ARM: da8xx: fix section mismatch in new drivers
Date: Tue, 22 Nov 2016 11:41:48 +0100	[thread overview]
Message-ID: <1479811311-3080-1-git-send-email-bgolaszewski@baylibre.com> (raw)
Sekhar noticed there's a section mismatch in the da8xx-mstpri and
da8xx-ddrctl drivers. This is caused by calling
of_flat_dt_get_machine_name() which has an __init annotation.
This series addresses this issue by introducing a new function that
allows to retrieve the compatible property of the root node and
using it instead of of_flat_dt_get_machine_name() in the new drivers.
Bartosz Golaszewski (3):
  of: base: add support to get machine compatible string
  bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name()
  memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name()
 drivers/bus/da8xx-mstpri.c    |  2 +-
 drivers/memory/da8xx-ddrctl.c |  2 +-
 drivers/of/base.c             | 22 ++++++++++++++++++++++
 include/linux/of.h            |  6 ++++++
 4 files changed, 30 insertions(+), 2 deletions(-)
-- 
2.9.3
next             reply	other threads:[~2016-11-22 10:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22 10:41 Bartosz Golaszewski [this message]
2016-11-22 10:41 ` [PATCH 1/3] of: base: add support to get machine compatible string Bartosz Golaszewski
2016-11-22 10:53   ` Sudeep Holla
2016-11-22 10:57     ` Bartosz Golaszewski
2016-11-22 10:58       ` Bartosz Golaszewski
2016-11-22 11:06       ` Sudeep Holla
2016-11-22 12:17         ` Sekhar Nori
2016-11-22 15:06     ` Sekhar Nori
2016-11-22 15:46       ` Sudeep Holla
2016-11-23  7:49         ` Sekhar Nori
2016-11-23 10:05           ` Sudeep Holla
2016-11-23 11:47             ` Sekhar Nori
2016-11-23 12:07               ` Sudeep Holla
2016-11-23 12:13                 ` Sekhar Nori
2016-11-23 12:15                   ` Sudeep Holla
2016-11-22 10:41 ` [PATCH 2/3] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name() Bartosz Golaszewski
2016-11-22 10:41 ` [PATCH 3/3] memory: da8xx-ddrctl: " Bartosz Golaszewski
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=1479811311-3080-1-git-send-email-bgolaszewski@baylibre.com \
    --to=bgolaszewski@baylibre.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).