summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-02-28 16:22:26 -0600
committerJesse Gilles <jgilles@multitech.com>2014-02-28 16:22:26 -0600
commit1d33a49251d171caeac6428312e4cfe4b4444133 (patch)
treee22c89a4e841cf488bf98e3f2d6531a6a93b625c
parentb119f2ff94356d4b77e6b7fe233bbec33aee358c (diff)
downloadcdp-io-controller-1d33a49251d171caeac6428312e4cfe4b4444133.tar.gz
cdp-io-controller-1d33a49251d171caeac6428312e4cfe4b4444133.tar.bz2
cdp-io-controller-1d33a49251d171caeac6428312e4cfe4b4444133.zip
fix compile warning
-rw-r--r--io-module/mts_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index f7d53e5..77cca8c 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -2995,7 +2995,7 @@ static struct attribute_group mtr2_platform_attribute_group = {
.attrs = mtr2_platform_attributes
};
-bool mtr2_add_daughter_card_attributes()
+bool mtr2_add_daughter_card_attributes(void)
{
size_t platform_attrs_size = sizeof(mtr2_platform_attributes) / sizeof(struct attribute *);
size_t daughter_card_attrs_size = sizeof(mtr2_daughter_card_attributes) / sizeof(struct attribute *);