mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] char:agp:amd64-agp - fix for warning __initdata
@ 2015-05-27  1:48 Shailendra Verma
  0 siblings, 0 replies; only message in thread
From: Shailendra Verma @ 2015-05-27  1:48 UTC (permalink / raw)
  To: David Airlie; +Cc: linux-kernel, Shailendra Verma

The below checkpatch warning fixed in this patch. 
WARNING: __initdata should be placed after agp_try_unsupported
static bool __initdata agp_try_unsupported = true;

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
 drivers/char/agp/amd64-agp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 6b6af5a..14900ea 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -33,7 +33,7 @@
 #define ULI_X86_64_ENU_SCR_REG		0x54
 
 static struct resource *aperture_resource;
-static bool __initdata agp_try_unsupported = true;
+static bool agp_try_unsupported __initdata = true;
 static int agp_bridges_found;
 
 static void amd64_tlbflush(struct agp_memory *temp)
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-27  1:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27  1:48 [PATCH] char:agp:amd64-agp - fix for warning __initdata Shailendra Verma

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

all inboxes | Powered by JetHome®