17e778731ce54bb023c3203ffa55269f7e1a4785
[openwrt/openwrt.git] /
1 From 5eb98f24d3ad87a8c99e16a0226dd419e878d06d Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Tue, 4 Sep 2018 17:58:53 +0200
4 Subject: [PATCH 457/782] staging: bcm2835-audio: Move module parameter
5 description
6
7 commit b876f2075808e95e244053caa53fa7e86e929a99 upstream.
8
9 For more consistency, move the module parameter description right
10 after its variable definition.
11
12 Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 ---
16 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 5 ++---
17 1 file changed, 2 insertions(+), 3 deletions(-)
18
19 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
20 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
21 @@ -19,6 +19,8 @@ struct bcm2835_audio_instance {
22 };
23
24 static bool force_bulk;
25 +module_param(force_bulk, bool, 0444);
26 +MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");
27
28 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance)
29 {
30 @@ -378,6 +380,3 @@ int bcm2835_audio_write(struct bcm2835_a
31 bcm2835_audio_unlock(instance);
32 return err;
33 }
34 -
35 -module_param(force_bulk, bool, 0444);
36 -MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");