aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2012-03-15 10:40:38 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-16 23:32:35 +0000
commit9e5ed094c89e55fbf11d2e81d60be98eb12346c0 (patch)
treeb77c63a452580643cdede36c3038d52995e54d8e /arch
parentARM: 7335/1: mach-u300: do away with MMC config files (diff)
downloadlinux-dev-9e5ed094c89e55fbf11d2e81d60be98eb12346c0.tar.xz
linux-dev-9e5ed094c89e55fbf11d2e81d60be98eb12346c0.zip
ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions