Commit 0d1d8208 authored by Michael Hunold's avatar Michael Hunold Committed by Linus Torvalds

[PATCH] Various small fixes in dvb-core

 - indentation fixes in dvb_demux.c
 - include cleanup in various files
 - simplify dvb/ttpci/Makefile
parent 4a6f3f0e
......@@ -1110,8 +1110,8 @@ static int dvbdmx_get_pes_pids(struct dmx_demux *demux, u16 *pids)
return 0;
}
int
dvb_dmx_init(struct dvb_demux *dvbdemux)
int dvb_dmx_init(struct dvb_demux *dvbdemux)
{
int i, err;
struct dmx_demux *dmx = &dvbdemux->dmx;
......@@ -1181,8 +1181,8 @@ dvb_dmx_init(struct dvb_demux *dvbdemux)
return 0;
}
int
dvb_dmx_release(struct dvb_demux *dvbdemux)
int dvb_dmx_release(struct dvb_demux *dvbdemux)
{
struct dmx_demux *dmx = &dvbdemux->dmx;
......
#include <linux/version.h>
#include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/ioctl.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
void dvb_kernel_thread_setup (const char *thread_name)
......
#ifndef __DVB_FUNCTIONS_H__
#define __DVB_FUNCTIONS_H__
#include <linux/version.h>
/**
* a sleeping delay function, waits i ms
*
......
......@@ -29,8 +29,6 @@
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <asm/semaphore.h>
#include "dvbdev.h"
#include "dvb_functions.h"
......
......@@ -27,8 +27,9 @@
#include <linux/types.h>
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/list.h>
#include <linux/version.h>
#include <linux/devfs_fs_kernel.h>
#define DVB_MAJOR 250
......
......@@ -3,16 +3,12 @@
# and the AV7110 DVB device driver
#
dvb-ttpci-budget-objs := budget.o
dvb-ttpci-budget-av-objs := budget-av.o
dvb-ttpci-budget-ci-objs := budget-ci.o
dvb-ttpci-budget-patch-objs := budget-patch.o
dvb-ttpci-objs := av7110.o av7110_ipack.o av7110_ir.o
obj-$(CONFIG_DVB_BUDGET) += budget-core.o dvb-ttpci-budget.o
obj-$(CONFIG_DVB_BUDGET_CI) += budget-core.o dvb-ttpci-budget-ci.o
obj-$(CONFIG_DVB_BUDGET_AV) += budget-core.o dvb-ttpci-budget-av.o
obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-core.o dvb-ttpci-budget-patch.o
obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o
obj-$(CONFIG_DVB_BUDGET) += budget-core.o budget.o ttpci-eeprom.o
obj-$(CONFIG_DVB_BUDGET_AV) += budget-core.o budget-av.o ttpci-eeprom.o
obj-$(CONFIG_DVB_BUDGET_CI) += budget-core.o budget-ci.o ttpci-eeprom.o
obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-core.o budget-patch.o ttpci-eeprom.o
obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o ttpci-eeprom.o
EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/
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