From: Bartlomiej Zolnierkiewicz Date: Thu, 24 Jul 2008 20:53:14 +0000 (+0200) Subject: ide: add ->dev and ->host_priv fields to struct ide_host X-Git-Tag: v2.6.27-rc1~509^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cdf6eb357c2681596b7b1672b92396ba82333d4;p=pandora-kernel.git ide: add ->dev and ->host_priv fields to struct ide_host * Add 'struct device *dev[2]' and 'void *host_priv' fields to struct ide_host. * Set ->dev[] in ide_host_alloc_all()/ide_setup_pci_device[s](). * Pass 'void *priv' argument to ide_setup_pci_device[s]() and use it to set ->host_priv. * Set PCI dev's ->driver_data to point to the struct ide_host instance if PCI host driver wants to use ->host_priv. * Rename ide_setup_pci_device[s]() to ide_pci_init_{one,two}(). Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed