Selaa lähdekoodia

Input: add missing exports to fix modular build

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 18 vuotta sitten
vanhempi
commit
80fc9f532d
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 1 0
      drivers/char/random.c
  2. 1 0
      lib/kobject.c

+ 1 - 0
drivers/char/random.c

@@ -645,6 +645,7 @@ void add_input_randomness(unsigned int type, unsigned int code,
 	add_timer_randomness(&input_timer_state,
 			     (type << 4) ^ code ^ (code >> 4) ^ value);
 }
+EXPORT_SYMBOL_GPL(add_input_randomness);
 
 void add_interrupt_randomness(int irq)
 {

+ 1 - 0
lib/kobject.c

@@ -119,6 +119,7 @@ char *kobject_get_path(struct kobject *kobj, gfp_t gfp_mask)
 
 	return path;
 }
+EXPORT_SYMBOL_GPL(kobject_get_path);
 
 /**
  *	kobject_init - initialize object.