linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] uninorth agp: don't mark module parameter __devinit
@ 2008-10-29  2:11 Johannes Berg
  2008-10-29 12:09 ` Michel Dänzer
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2008-10-29  2:11 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list

A module parameter can possibly be shown via sysfs, which isn't a good
idea if the section has been removed, so remove the __devinit
annotation.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Also fixes a section mismatch warning.

--- everything.orig/drivers/char/agp/uninorth-agp.c	2008-10-29 03:07:26.000000000 +0100
+++ everything/drivers/char/agp/uninorth-agp.c	2008-10-29 03:08:16.000000000 +0100
@@ -27,7 +27,7 @@
 static int uninorth_rev;
 static int is_u3;
 
-static char __devinitdata *aperture = NULL;
+static char *aperture = NULL;
 
 static int uninorth_fetch_size(void)
 {

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

end of thread, other threads:[~2008-10-30  8:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29  2:11 [PATCH] uninorth agp: don't mark module parameter __devinit Johannes Berg
2008-10-29 12:09 ` Michel Dänzer
2008-10-29 12:12   ` Johannes Berg
2008-10-29 16:34     ` Michel Dänzer
2008-10-30  8:45       ` Johannes Berg
2008-10-30  8:50         ` Michel Dänzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).