public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/platform/intel-mid: make bt_sfi_data const
@ 2017-08-06 17:15 Bhumika Goyal
  2017-08-10 14:16 ` [tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const tip-bot for Bhumika Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Bhumika Goyal @ 2017-08-06 17:15 UTC (permalink / raw)
  To: julia.lawall, tglx, mingo, hpa, x86, linux-kernel; +Cc: Bhumika Goyal

Make this structure const as it is only used during copy operation.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
---
 arch/x86/platform/intel-mid/device_libs/platform_bt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bt.c b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
index 5a0483e..dc036e5 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_bt.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
@@ -60,7 +60,7 @@ static int __init tng_bt_sfi_setup(struct bt_sfi_data *ddata)
 	return 0;
 }
 
-static struct bt_sfi_data tng_bt_sfi_data __initdata = {
+static const struct bt_sfi_data tng_bt_sfi_data __initdata = {
 	.setup	= tng_bt_sfi_setup,
 };
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-10 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-06 17:15 [PATCH] x86/platform/intel-mid: make bt_sfi_data const Bhumika Goyal
2017-08-10 14:16 ` [tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const tip-bot for Bhumika Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox