Пример #1
0
static void __exit omap_alsa_tsc2101_exit(void)
{
	ADEBUG();
#ifdef DUMP_TSC2101_AUDIO_REGISTERS
	printk("omap_alsa_tsc2101_exit()\n");
	dump_tsc2101_audio_reg();
#endif
	platform_driver_unregister(&omap_alsa_driver);
}
Пример #2
0
static int __init omap_alsa_tsc2101_init(void)
{
	ADEBUG();
#ifdef DUMP_TSC2101_AUDIO_REGISTERS
	printk(KERN_INFO "omap_alsa_tsc2101_init()\n");
	dump_tsc2101_audio_reg();
#endif
	return platform_driver_register(&omap_alsa_driver);
}