From: Takashi Iwai Date: Thu, 12 Feb 2015 12:43:22 +0000 (+0100) Subject: ALSA: seq: Define driver object in each driver X-Git-Tag: omap-for-v4.1/fixes-rc1~130^2~6^2~43^2~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=056622053b8ae02978678ac1321b5bd956e7c812;p=pandora-kernel.git ALSA: seq: Define driver object in each driver This patch moves the driver object initialization and allocation to each driver's module init/exit code like other normal drivers. The snd_seq_driver struct is now published in seq_device.h, and each driver is responsible to define it with proper driver attributes (name, probe and remove) with snd_seq_driver specific attributes as id and argsize fields. The helper functions snd_seq_driver_register(), snd_seq_driver_unregister() and module_snd_seq_driver() are used for simplifying codes. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed