Skip to content

Commit

Permalink
net/can: add module alias to can protocol drivers
Browse files Browse the repository at this point in the history
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
lw-karo authored and davem330 committed Jul 15, 2009
1 parent f7e5cc0 commit b13bb2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/can/bcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions net/can/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b13bb2e

Please sign in to comment.