diff options
author | Michael Hunold <devnull@localhost> | 2003-06-18 12:20:44 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-06-18 12:20:44 +0000 |
commit | fb0c1b161937e8936aa52c67a353650d3e1e2926 (patch) | |
tree | 8b3d6dcf6a0022440ff8ebbcf3d8619bfa1cd8a7 /linux/drivers/media/common/saa7146_core.c | |
parent | d803680c98d5c00510224ac46c315f1ba2d7f6ac (diff) | |
download | mediapointer-dvb-s2-fb0c1b161937e8936aa52c67a353650d3e1e2926.tar.gz mediapointer-dvb-s2-fb0c1b161937e8936aa52c67a353650d3e1e2926.tar.bz2 |
When I submitted the last patchset for the 2.5 kernel series,
Alan Cox reformatted the code to follow his coding style when
he fixed the merge bugs.
This patch now introduces these coding style changes, so
that we don't wipe out his changes with the next patchset.
Diffstat (limited to 'linux/drivers/media/common/saa7146_core.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_core.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c index 45e7eec45..51013c6b9 100644 --- a/linux/drivers/media/common/saa7146_core.c +++ b/linux/drivers/media/common/saa7146_core.c @@ -49,8 +49,7 @@ static void dump_registers(struct saa7146_dev* dev) ****************************************************************************/ /* this is videobuf_vmalloc_to_sg() from video-buf.c */ -static -struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) +static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) { struct scatterlist *sglist; struct page *pg; @@ -254,8 +253,7 @@ static irqreturn_t interrupt_hw(int irq, void *dev_id, struct pt_regs *regs) /*********************************************************************************/ /* configuration-functions */ -static -int saa7146_init_one(struct pci_dev *pci, const struct pci_device_id *ent) +static int saa7146_init_one(struct pci_dev *pci, const struct pci_device_id *ent) { unsigned long adr = 0, len = 0; struct saa7146_dev* dev = kmalloc (sizeof(struct saa7146_dev),GFP_KERNEL); @@ -417,8 +415,7 @@ out: return err; } -static -void saa7146_remove_one(struct pci_dev *pdev) +static void saa7146_remove_one(struct pci_dev *pdev) { struct saa7146_dev* dev = (struct saa7146_dev*) pci_get_drvdata(pdev); DEB_EE(("dev:%p\n",dev)); @@ -477,8 +474,7 @@ int saa7146_unregister_extension(struct saa7146_extension* ext) return 0; } -static -int __init saa7146_init_module(void) +static int __init saa7146_init_module(void) { if( 0 == initialized ) { INIT_LIST_HEAD(&saa7146_devices); @@ -488,8 +484,7 @@ int __init saa7146_init_module(void) return 0; } -static -void __exit saa7146_cleanup_module(void) +static void __exit saa7146_cleanup_module(void) { } |