forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/can: add module alias to can protocol drivers
Add appropriate MODULE_ALIAS() to facilitate autoloading of can protocol drivers Signed-off-by: Lothar Wassmann <[email protected]> Acked-by: Oliver Hartkopp <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ static __initdata const char banner[] = KERN_INFO | |
MODULE_DESCRIPTION("PF_CAN broadcast manager protocol"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
MODULE_AUTHOR("Oliver Hartkopp <[email protected]>"); | ||
MODULE_ALIAS("can-proto-2"); | ||
|
||
/* easy access to can_frame payload */ | ||
static inline u64 GET_U64(const struct can_frame *cp) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ static __initdata const char banner[] = | |
MODULE_DESCRIPTION("PF_CAN raw protocol"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
MODULE_AUTHOR("Urs Thuermann <[email protected]>"); | ||
MODULE_ALIAS("can-proto-1"); | ||
|
||
#define MASK_ALL 0 | ||
|
||
|