Skip to content

Commit

Permalink
Audioinjector : make the octo and pi sound cards have different drive…
Browse files Browse the repository at this point in the history
…r names

This patch gives the audioinjector octo and pi soundcards different driver
names. This allows both the be loaded without clashing.
  • Loading branch information
flatmax authored and popcornmix committed Apr 4, 2017
1 parent 3f0e7aa commit 34dcada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/bcm/audioinjector-octo-soundcard.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ MODULE_DEVICE_TABLE(of, audioinjector_octo_of_match);

static struct platform_driver audioinjector_octo_driver = {
.driver = {
.name = "audioinjector-audio",
.name = "audioinjector-octo",
.owner = THIS_MODULE,
.of_match_table = audioinjector_octo_of_match,
},
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/bcm/audioinjector-pi-soundcard.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ MODULE_DEVICE_TABLE(of, audioinjector_pi_soundcard_of_match);

static struct platform_driver audioinjector_pi_soundcard_driver = {
.driver = {
.name = "audioinjector-audio",
.name = "audioinjector-stereo",
.owner = THIS_MODULE,
.of_match_table = audioinjector_pi_soundcard_of_match,
},
Expand Down

0 comments on commit 34dcada

Please sign in to comment.