Преглед на файлове

cipso: add __init to cipso_v4_cache_init

cipso_v4_cache_init is only called by __init cipso_v4_init

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Fabian Frederick преди 11 години
родител
ревизия
cb57659a15
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      net/ipv4/cipso_ipv4.c

+ 1 - 1
net/ipv4/cipso_ipv4.c

@@ -246,7 +246,7 @@ static u32 cipso_v4_map_cache_hash(const unsigned char *key, u32 key_len)
  * success, negative values on error.
  *
  */
-static int cipso_v4_cache_init(void)
+static int __init cipso_v4_cache_init(void)
 {
 	u32 iter;