From: Hans Verkuil <hansverk@cisco.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Ondrej Zary <linux@rainbow-software.org>,
Hans Verkuil <hans.verkuil@cisco.com>,
linux-media@vger.kernel.org
Subject: Re: [PATCH v1 1/1] tea575x: convert to library
Date: Thu, 28 Jan 2016 14:06:45 +0100 [thread overview]
Message-ID: <56AA1265.6030109@cisco.com> (raw)
In-Reply-To: <1453984596.2521.293.camel@linux.intel.com>
On 01/28/2016 01:36 PM, Andy Shevchenko wrote:
> On Fri, 2015-12-18 at 22:32 +0200, Andy Shevchenko wrote:
>> The module is used only as a library for now. Remove module init and
>> exit
>> routines to show this.
>>
>> While here, remove FSF snail address and attach EXPORT_SYMBOL()
>> macros to
>> corresponding functions.
>
> Any comment on this?
Not yet. It's in my todo pile so I will get to it. It's low prio, so
this might take some time.
Regards,
Hans
>
> The patch has been compiled and tested with SF64-PCR radio tuner (fm801
> based).
>
>>
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> ---
>> drivers/media/radio/tea575x.c | 21 ++-------------------
>> 1 file changed, 2 insertions(+), 19 deletions(-)
>>
>> diff --git a/drivers/media/radio/tea575x.c
>> b/drivers/media/radio/tea575x.c
>> index 43d1ea5..21cd5de 100644
>> --- a/drivers/media/radio/tea575x.c
>> +++ b/drivers/media/radio/tea575x.c
>> @@ -14,10 +14,6 @@
>> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>> * GNU General Public License for more details.
>> *
>> - * You should have received a copy of the GNU General Public
>> License
>> - * along with this program; if not, write to the Free Software
>> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
>> MA 02111-1307 USA
>> - *
>> */
>>
>> #include <linux/delay.h>
>> @@ -226,6 +222,7 @@ void snd_tea575x_set_freq(struct snd_tea575x
>> *tea)
>> snd_tea575x_write(tea, tea->val);
>> tea->freq = snd_tea575x_val_to_freq(tea, tea->val);
>> }
>> +EXPORT_SYMBOL(snd_tea575x_set_freq);
>>
>> /*
>> * Linux Video interface
>> @@ -582,25 +579,11 @@ int snd_tea575x_init(struct snd_tea575x *tea,
>> struct module *owner)
>>
>> return 0;
>> }
>> +EXPORT_SYMBOL(snd_tea575x_init);
>>
>> void snd_tea575x_exit(struct snd_tea575x *tea)
>> {
>> video_unregister_device(&tea->vd);
>> v4l2_ctrl_handler_free(tea->vd.ctrl_handler);
>> }
>> -
>> -static int __init alsa_tea575x_module_init(void)
>> -{
>> - return 0;
>> -}
>> -
>> -static void __exit alsa_tea575x_module_exit(void)
>> -{
>> -}
>> -
>> -module_init(alsa_tea575x_module_init)
>> -module_exit(alsa_tea575x_module_exit)
>> -
>> -EXPORT_SYMBOL(snd_tea575x_init);
>> EXPORT_SYMBOL(snd_tea575x_exit);
>> -EXPORT_SYMBOL(snd_tea575x_set_freq);
>
prev parent reply other threads:[~2016-01-28 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-18 20:32 [PATCH v1 1/1] tea575x: convert to library Andy Shevchenko
2016-01-28 12:36 ` Andy Shevchenko
2016-01-28 13:06 ` Hans Verkuil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56AA1265.6030109@cisco.com \
--to=hansverk@cisco.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=hans.verkuil@cisco.com \
--cc=linux-media@vger.kernel.org \
--cc=linux@rainbow-software.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.