[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100831151413.3adb0ea1@nehalam>
Date: Tue, 31 Aug 2010 15:14:13 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH] net: make rx_queue sysfs_ops const
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/net/core/net-sysfs.c 2010-08-31 15:09:51.280223081 -0700
+++ b/net/core/net-sysfs.c 2010-08-31 15:10:03.820257477 -0700
@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struc
return attribute->store(queue, attribute, buf, count);
}
-static struct sysfs_ops rx_queue_sysfs_ops = {
+static const struct sysfs_ops rx_queue_sysfs_ops = {
.show = rx_queue_attr_show,
.store = rx_queue_attr_store,
};
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists