lkml.org 
[lkml]   [2017]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 02/12] ALSA: ac97: add an ac97 bus
On Fri, 30 Jun 2017 21:43:58 +0200,
Robert Jarzmik wrote:
> +static struct bus_type ac97_bus_type = {
> + .name = "ac97",

Name-conflict with the old ac97 bus?

> + .dev_groups = ac97_dev_groups,
> + .match = ac97_bus_match,
> + .pm = &ac97_pm,
> + .probe = ac97_bus_probe,
> + .remove = ac97_bus_remove,
> +};
> +
> +static int __init ac97_bus_init(void)
> +{
> + return bus_register(&ac97_bus_type);
> +}
> +subsys_initcall(ac97_bus_init);
> +
> +MODULE_LICENSE("GPL");
> +MODULE_AUTHOR("Robert Jarzmik <robert.jarzmik@free.fr>");

No bus_unregister() at exit?


thanks,

Takashi

\
 
 \ /
  Last update: 2017-07-03 11:13    [W:0.179 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site