From: Bjorn Helgaas Date: Fri, 27 Jun 2008 22:57:11 +0000 (-0600) Subject: PNP: centralize resource option allocations X-Git-Tag: v2.6.27-rc1~1050^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c227536b4cc2600fc9d22ba0067f699165f6621f;p=pandora-kernel.git PNP: centralize resource option allocations This patch moves all the option allocations (pnp_mem, pnp_port, etc) into the pnp_register_{mem,port,irq,dma}_resource() functions. This will make it easier to rework the option data structures. The non-trivial part of this patch is the IRQ handling. The backends have to allocate a local pnp_irq_mask_t bitmap, populate it, and pass a pointer to pnp_register_irq_resource(). Signed-off-by: Bjorn Helgaas Signed-off-by: Andi Kleen Acked-by: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed