Skip to content

Commit

Permalink
tty: Add "spi:" prefix for spi modalias
Browse files Browse the repository at this point in the history
Since commit e0626e3 (spi: prefix modalias with "spi:"),
the spi modalias is prefixed with "spi:".

This patch adds "spi:" prefix and removes "-spi" suffix in the modalias.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 0d0a3cc commit 8c4074c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/tty/serial/max3107-aava.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,5 +340,5 @@ module_exit(max3107_exit);

MODULE_DESCRIPTION("MAX3107 driver");
MODULE_AUTHOR("Aavamobile");
MODULE_ALIAS("aava-max3107-spi");
MODULE_ALIAS("spi:aava-max3107");
MODULE_LICENSE("GPL v2");
2 changes: 1 addition & 1 deletion drivers/tty/serial/max3107.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,5 +1209,5 @@ module_exit(max3107_exit);

MODULE_DESCRIPTION("MAX3107 driver");
MODULE_AUTHOR("Aavamobile");
MODULE_ALIAS("max3107-spi");
MODULE_ALIAS("spi:max3107");
MODULE_LICENSE("GPL v2");
2 changes: 1 addition & 1 deletion drivers/tty/serial/mrst_max3110.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,4 +917,4 @@ module_init(serial_m3110_init);
module_exit(serial_m3110_exit);

MODULE_LICENSE("GPL v2");
MODULE_ALIAS("max3110-uart");
MODULE_ALIAS("spi:max3110-uart");

0 comments on commit 8c4074c

Please sign in to comment.