Skip to contentSkip to conversation

libata: Allow modular builds of drivers using ata_dumb_qc_prep

PATCH In review Alan Cox 2 participants 2 messages Jul 3, 2007 libata

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 libata: Allow modular builds of drivers using ata_dumb_qc_prep

drivers/ata/libata-core.c +1 -0
diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.22-rc6-mm1/drivers/ata/libata-core.c linux-2.6.22-rc6-mm1/drivers/ata/libata-core.c
@@ -6842,6 +6976,7 @@
 EXPORT_SYMBOL_GPL(ata_data_xfer);
 EXPORT_SYMBOL_GPL(ata_data_xfer_noirq);
 EXPORT_SYMBOL_GPL(ata_qc_prep);
+EXPORT_SYMBOL_GPL(ata_dumb_qc_prep);
 EXPORT_SYMBOL_GPL(ata_noop_qc_prep);
 EXPORT_SYMBOL_GPL(ata_bmdma_setup);
 EXPORT_SYMBOL_GPL(ata_bmdma_start);
#1 lore raw

drivers/ata/libata-core.c line 6979

Quoted 10 lines · Alan Cox

diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.22-rc6-mm1/drivers/ata/libata-core.c linux-2.6.22-rc6-mm1/drivers/ata/libata-core.c

drivers/ata/libata-core.c +1 -0
@@ -6842,6 +6976,7 @@
 EXPORT_SYMBOL_GPL(ata_data_xfer);
 EXPORT_SYMBOL_GPL(ata_data_xfer_noirq);
 EXPORT_SYMBOL_GPL(ata_qc_prep);
+EXPORT_SYMBOL_GPL(ata_dumb_qc_prep);

Please combine this with the previous patch and resend, otherwise git-bisect is not happy. This should be bundled with the addition of this function.