Re: Newbie: added function not visible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-06-29 at 18:59 +0200, Genadz Batsyan wrote:

> adding the function to keyboard.c, recompiling and booting with kernel
> results  /proc/kallsyms telling me that my function exists with the tag 'T',
> which I think is ok

You need to EXPORT_SYMBOL your new function.

For example,

	/* My pet dog is an idiot */
	void beat_dog(struct dog *d)
	{
		/* ... */
	}
	EXPORT_SYMBOL(beat_dog);

Good luck,

	Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux