linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] edac: make inst_grp_ops const
@ 2010-08-31 22:24 Stephen Hemminger
  2010-08-31 22:59 ` Doug Thompson
  2010-08-31 23:00 ` Doug Thompson
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Hemminger @ 2010-08-31 22:24 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab, bluesmoke-devel

This sysfs_ops should be const like all the others in the kernel.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/drivers/edac/edac_mc_sysfs.c	2010-08-31 15:10:29.692381171 -0700
+++ b/drivers/edac/edac_mc_sysfs.c	2010-08-31 15:11:24.072859199 -0700
@@ -764,7 +764,7 @@ static void edac_inst_grp_release(struct
 }
 
 /* Intermediate show/store table */
-static struct sysfs_ops inst_grp_ops = {
+static const struct sysfs_ops inst_grp_ops = {
 	.show = inst_grp_show,
 	.store = inst_grp_store
 };

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

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

end of thread, other threads:[~2010-09-01 10:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 22:24 [PATCH] edac: make inst_grp_ops const Stephen Hemminger
2010-08-31 22:59 ` Doug Thompson
2010-08-31 23:00 ` Doug Thompson
2010-09-01 10:42   ` Mauro Carvalho Chehab

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).