Commit c6465799 authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab

V4L/DVB (8262): sms1xxx: remove smschar.o

Signed-off-by: default avatarSteven Toth <stoth@hauppauge.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 464a77dd
......@@ -2,7 +2,7 @@
# Makefile for the kernel MDTV driver
#
smscore-objs := smschar.o smscoreapi.o
smscore-objs := smscoreapi.o
obj-$(CONFIG_MDTV_SIANO_STELLAR_COMMON) += smscore.o
obj-$(CONFIG_MDTV_SIANO_STELLAR_USB) += smsusb.o
......
This diff is collapsed.
#ifndef __smschar_h__
#define __smschar_h__
extern int smschar_initialize(void);
extern void smschar_terminate(void);
#endif // __smschar_h__
#ifndef __smscharioctl_h__
#define __smscharioctl_h__
#include <linux/ioctl.h>
typedef struct _smschar_buffer_t
{
unsigned long offset; // offset in common buffer (mapped to user space)
int size;
} smschar_buffer_t;
#define SMSCHAR_SET_DEVICE_MODE _IOW('K', 0, int)
#define SMSCHAR_GET_DEVICE_MODE _IOR('K', 1, int)
#define SMSCHAR_GET_BUFFER_SIZE _IOR('K', 2, int)
#define SMSCHAR_WAIT_GET_BUFFER _IOR('K', 3, smschar_buffer_t)
#endif // __smscharioctl_h__
......@@ -34,8 +34,6 @@
#include "smscoreapi.h"
#include "smstypes.h"
#include "smschar.h"
typedef struct _smscore_device_notifyee
{
struct list_head entry;
......@@ -1100,7 +1098,7 @@ int smscore_map_common_buffer(smscore_device_t *coredev, struct vm_area_struct *
int smscore_module_init(void)
{
int rc;
int rc = 0;
INIT_LIST_HEAD(&g_smscore_notifyees);
INIT_LIST_HEAD(&g_smscore_devices);
......@@ -1109,8 +1107,6 @@ int smscore_module_init(void)
INIT_LIST_HEAD(&g_smscore_registry);
kmutex_init(&g_smscore_registrylock);
rc = smschar_initialize();
printk(KERN_INFO "%s, rc %d\n", __FUNCTION__, rc);
return rc;
......@@ -1118,8 +1114,6 @@ int smscore_module_init(void)
void smscore_module_exit(void)
{
smschar_terminate();
kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment