Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC Bus
Commits
7ea88832
Commit
7ea88832
authored
Feb 23, 2014
by
Alessandro Rubini
Committed by
Federico Vaga
Apr 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drivers: use CERN_SUPER_MODULE trick
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
e87f0f24
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
0 deletions
+17
-0
Makefile
kernel/Makefile
+7
-0
fmc-chardev.c
kernel/fmc-chardev.c
+2
-0
fmc-core.c
kernel/fmc-core.c
+2
-0
fmc-fakedev.c
kernel/fmc-fakedev.c
+2
-0
fmc-trivial.c
kernel/fmc-trivial.c
+2
-0
fmc-write-eeprom.c
kernel/fmc-write-eeprom.c
+2
-0
No files found.
kernel/Makefile
View file @
7ea88832
...
...
@@ -17,6 +17,13 @@ fmc-y += fmc-dump.o
GIT_VERSION
=
$(
shell
cd
$(src)
;
git describe
--dirty
--long
--tags
)
# For this CSM_VERSION, please see ohwr.org/csm documentation
ifdef
CONFIG_CSM_VERSION
ccflags-y
+=
-D
"CERN_SUPER_MODULE=MODULE_VERSION(
\"
$(CONFIG_CSM_VERSION)
\"
)"
else
ccflags-y
+=
-DCERN_SUPER_MODULE
=
""
endif
# The library includes <sdb.h>, so point -I directtly there
ccflags-y
+=
-I
$(src)
/include/linux
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
...
...
kernel/fmc-chardev.c
View file @
7ea88832
...
...
@@ -201,3 +201,5 @@ module_exit(fc_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL"
);
CERN_SUPER_MODULE
;
kernel/fmc-core.c
View file @
7ea88832
...
...
@@ -303,3 +303,5 @@ module_exit(fmc_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL"
);
CERN_SUPER_MODULE
;
kernel/fmc-fakedev.c
View file @
7ea88832
...
...
@@ -348,3 +348,5 @@ module_exit(ff_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL and additional rights"
);
CERN_SUPER_MODULE
;
kernel/fmc-trivial.c
View file @
7ea88832
...
...
@@ -100,3 +100,5 @@ module_exit(t_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL and additional rights"
);
/* public domain */
CERN_SUPER_MODULE
;
kernel/fmc-write-eeprom.c
View file @
7ea88832
...
...
@@ -175,3 +175,5 @@ module_exit(fwe_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL"
);
CERN_SUPER_MODULE
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment