Skip to content

Commit

Permalink
reset: hi6220: Set module license so that it can be loaded
Browse files Browse the repository at this point in the history
The hi6220_reset driver can be built as a standalone module
yet it cannot be loaded because it depends on GPL exported symbols.

Lets set the module license so that the module loads, and things like
the on-board kirin drm starts working.

Signed-off-by: Jeremy Linton <lintonrjeremy@gmail.com>
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Jeremy Linton authored and Philipp Zabel committed May 24, 2017
1 parent 2ea659a commit 4497a22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/reset/hisilicon/hi6220_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,5 @@ static int __init hi6220_reset_init(void)
}

postcore_initcall(hi6220_reset_init);

MODULE_LICENSE("GPL v2");

0 comments on commit 4497a22

Please sign in to comment.