You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From fb05aeb91f3e94e89ad2d9aa68104e6e4cc97239 Mon Sep 17 00:00:00 2001
|
|
From: Takashi Iwai <tiwai@suse.de>
|
|
Date: Tue, 4 Sep 2018 17:58:53 +0200
|
|
Subject: [PATCH] staging: bcm2835-audio: Move module parameter
|
|
description
|
|
|
|
commit b876f2075808e95e244053caa53fa7e86e929a99 upstream.
|
|
|
|
For more consistency, move the module parameter description right
|
|
after its variable definition.
|
|
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
|
|
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
|
|
@@ -19,6 +19,8 @@ struct bcm2835_audio_instance {
|
|
};
|
|
|
|
static bool force_bulk;
|
|
+module_param(force_bulk, bool, 0444);
|
|
+MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");
|
|
|
|
static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance)
|
|
{
|
|
@@ -378,6 +380,3 @@ int bcm2835_audio_write(struct bcm2835_a
|
|
bcm2835_audio_unlock(instance);
|
|
return err;
|
|
}
|
|
-
|
|
-module_param(force_bulk, bool, 0444);
|
|
-MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");
|