For simple modules that contain a single amba_driver without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_amba_driver(), which replaces the module_init()/module_exit() registrations with template functions. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
|---|---|---|
| .. | ||
| aaci.c | ||
| aaci.h | ||
| Kconfig | ||
| Makefile | ||
| pxa2xx-ac97-lib.c | ||
| pxa2xx-ac97.c | ||
| pxa2xx-pcm-lib.c | ||
| pxa2xx-pcm.c | ||
| pxa2xx-pcm.h | ||