[tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const

2017-08-10 Thread tip-bot for Bhumika Goyal
Commit-ID:  276c87054751bb6adfa160a6e68e47b97592a897
Gitweb: http://git.kernel.org/tip/276c87054751bb6adfa160a6e68e47b97592a897
Author: Bhumika Goyal 
AuthorDate: Sun, 6 Aug 2017 22:45:20 +0530
Committer:  Ingo Molnar 
CommitDate: Thu, 10 Aug 2017 14:24:32 +0200

x86/platform/intel-mid: Make 'bt_sfi_data' const

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

Signed-off-by: Bhumika Goyal 
Cc: Linus Torvalds 
Cc: Peter Zijlstra 
Cc: Thomas Gleixner 
Cc: julia.law...@lip6.fr
Link: 
http://lkml.kernel.org/r/1502039720-4471-1-git-send-email-bhumi...@gmail.com
Signed-off-by: Ingo Molnar 
---
 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,
 };
 


[tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const

2017-08-10 Thread tip-bot for Bhumika Goyal
Commit-ID:  276c87054751bb6adfa160a6e68e47b97592a897
Gitweb: http://git.kernel.org/tip/276c87054751bb6adfa160a6e68e47b97592a897
Author: Bhumika Goyal 
AuthorDate: Sun, 6 Aug 2017 22:45:20 +0530
Committer:  Ingo Molnar 
CommitDate: Thu, 10 Aug 2017 14:24:32 +0200

x86/platform/intel-mid: Make 'bt_sfi_data' const

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

Signed-off-by: Bhumika Goyal 
Cc: Linus Torvalds 
Cc: Peter Zijlstra 
Cc: Thomas Gleixner 
Cc: julia.law...@lip6.fr
Link: 
http://lkml.kernel.org/r/1502039720-4471-1-git-send-email-bhumi...@gmail.com
Signed-off-by: Ingo Molnar 
---
 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,
 };