lkml.org 
[lkml]   [2004]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Pcihpd-discuss] [PATCH] 2.6 PCI Hotplug: receive PPC64 EEH events
On Wed, Jul 07, 2004 at 03:59:07PM -0500, linas@austin.ibm.com wrote:
> +static struct notifier_block eeh_block;
> +
> +void __init init_eeh_handler (void)
> +{
> + eeh_block.notifier_call = handle_eeh_events;
> + eeh_register_notifier (&eeh_block);
> +}
> +
> +void __exit exit_eeh_handler (void)
> +{
> + eeh_block.notifier_call = handle_eeh_events;
> + eeh_register_notifier (&eeh_block);
> +}
> +

Um, I don't think you want your exit_* function to look identical to
your init_* function :)

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

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans