forked from Minki/linux
V4L/DVB (8263): sms1xxx: merge ksyms
Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
c6465799c3
commit
955e9ca3cd
@ -27,8 +27,6 @@
|
||||
#include <linux/delay.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#include "smskdefs.h" // device, page, scatterlist, kmutex
|
||||
|
||||
#include <linux/firmware.h>
|
||||
|
||||
#include "smscoreapi.h"
|
||||
|
@ -1,6 +1,27 @@
|
||||
#ifndef __smscoreapi_h__
|
||||
#define __smscoreapi_h__
|
||||
|
||||
/* From sysksyms.h */
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/mm.h>
|
||||
#include <asm/scatterlist.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
#include <linux/mutex.h>
|
||||
|
||||
typedef struct mutex kmutex_t;
|
||||
|
||||
#define kmutex_init(_p_) mutex_init(_p_)
|
||||
#define kmutex_lock(_p_) mutex_lock(_p_)
|
||||
#define kmutex_trylock(_p_) mutex_trylock(_p_)
|
||||
#define kmutex_unlock(_p_) mutex_unlock(_p_)
|
||||
|
||||
|
||||
/* End sysksyms.h */
|
||||
|
||||
#ifndef min
|
||||
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "dvb_demux.h"
|
||||
#include "dvb_frontend.h"
|
||||
|
||||
#include "smskdefs.h" // page, scatterlist, kmutex
|
||||
#include "smscoreapi.h"
|
||||
#include "smstypes.h"
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
#ifndef __smskdefs_h__
|
||||
#define __smskdefs_h__
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/mm.h>
|
||||
#include <asm/scatterlist.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
#include <linux/mutex.h>
|
||||
|
||||
typedef struct mutex kmutex_t;
|
||||
|
||||
#define kmutex_init(_p_) mutex_init(_p_)
|
||||
#define kmutex_lock(_p_) mutex_lock(_p_)
|
||||
#define kmutex_trylock(_p_) mutex_trylock(_p_)
|
||||
#define kmutex_unlock(_p_) mutex_unlock(_p_)
|
||||
|
||||
|
||||
#endif // __smskdefs_h__
|
@ -4,7 +4,6 @@
|
||||
#include <linux/usb.h>
|
||||
#include <linux/firmware.h>
|
||||
|
||||
#include "smskdefs.h" // page, scatterlist, kmutex
|
||||
#include "smscoreapi.h"
|
||||
#include "smstypes.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user