debuggers.hg

view xen/drivers/pci/Makefile @ 3763:0823f72cd071

bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)

Some functions aren't static and could be (damn C language!).

I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them. Not sure it's worth it.

1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@freefall.cl.cam.ac.uk
date Tue Feb 08 15:43:01 2005 +0000 (2005-02-08)
parents 4c5d9524b934
children a00d7a994a59 0dc3b8b8c298
line source
1 #
2 # Makefile for the PCI bus specific drivers.
3 #
5 include $(BASEDIR)/Rules.mk
7 OBJS := pci.o quirks.o names.o setup-res.o
9 #obj-$(CONFIG_PCI) += pci.o quirks.o compat.o names.o
10 #obj-$(CONFIG_PROC_FS) += proc.o
12 #ifndef CONFIG_SPARC64
13 #obj-$(CONFIG_PCI) += setup-res.o
14 #endif
16 #
17 # Some architectures use the generic PCI setup functions
18 #
19 #obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
20 #obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
21 #obj-$(CONFIG_PARISC) += setup-bus.o
22 #obj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.o
23 #obj-$(CONFIG_ALL_PPC) += setup-bus.o
24 #obj-$(CONFIG_DDB5476) += setup-bus.o
25 #obj-$(CONFIG_SGI_IP27) += setup-irq.o
27 #ifndef CONFIG_X86
28 #obj-y += syscall.o
29 #endif
31 default: driver.o
32 driver.o: $(OBJS)
33 $(LD) $(LDFLAGS) -r -o driver.o $(OBJS)
35 clean:
36 rm -f *.o *~ core gen-devlist classlist.h devlist.h
38 names.o: names.c devlist.h classlist.h
40 devlist.h classlist.h: pci.ids gen-devlist
41 ./gen-devlist <pci.ids
43 gen-devlist: gen-devlist.c
44 $(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c