diff options
author | Andrew F. Davis <afd@ti.com> | 2016-05-04 17:01:38 -0500 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-05-06 11:09:00 -0700 |
commit | f3d9f1ce079370d19b34fc9927b8b1355ac98503 (patch) | |
tree | c4e29565048d75716f29d53cc8a4d6ebee30cd68 /samples | |
parent | 9122bf1839c039a0052c0a75a3c4daf9277b5dd5 (diff) | |
download | talos-obmc-linux-f3d9f1ce079370d19b34fc9927b8b1355ac98503.tar.gz talos-obmc-linux-f3d9f1ce079370d19b34fc9927b8b1355ac98503.zip |
rpmsg: add helper macro module_rpmsg_driver
This patch introduces the module_rpmsg_driver macro which is a
convenience macro for rpmsg driver modules similar to
module_platform_driver. It is intended to be used by drivers which
init/exit section does nothing but register/unregister the rpmsg driver.
By using this macro it is possible to eliminate a few lines of
boilerplate code per rpmsg driver.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions