Skip to content

Commit

Permalink
staging: android: fwdata: add missing MODULE_LICENSE
Browse files Browse the repository at this point in the history
The intel fwdata driver causes a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/android/fwdata.o
see include/linux/module.h for more information

This adds the license as "GPL v2", which matches the header of the file.

Change-Id: I520d5c72165b53861f55b401d88aac55dbc4046a
Signed-off-by: Pan, Kris
  • Loading branch information
krispan-intel authored and bpankajl committed Oct 16, 2019
1 parent e223a77 commit 8ef2a58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/staging/android/fwdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,8 @@ static struct platform_driver android_fwdata_driver = {
};

module_platform_driver(android_fwdata_driver);

MODULE_AUTHOR("Yu Ning <[email protected]>");
MODULE_AUTHOR("Biyi Li <[email protected]>");
MODULE_DESCRIPTION("Intel fwdata driver");
MODULE_LICENSE("GPL v2");

0 comments on commit 8ef2a58

Please sign in to comment.