linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg@redhat.com>
To: linux-acpi@vger.kernel.org
Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org,
	lenb@kernel.org, James.Bottomley@suse.de, jgarzik@pobox.com,
	Matthew Garrett <mjg@redhat.com>
Subject: [PATCH 1/5] scsi: Export scsi_bus_type
Date: Wed, 15 Sep 2010 15:57:59 -0400	[thread overview]
Message-ID: <1284580683-2386-1-git-send-email-mjg@redhat.com> (raw)

We need scsi_bus_type in order to be able to bind ata devices against acpi
devices. Export it from the scsi core.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
 drivers/scsi/scsi_priv.h |    1 -
 include/scsi/scsi.h      |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index b4056d1..ff1e284 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -132,7 +132,6 @@ extern int scsi_sysfs_target_initialize(struct scsi_device *);
 extern struct scsi_transport_template blank_transport_template;
 extern void __scsi_remove_device(struct scsi_device *);
 
-extern struct bus_type scsi_bus_type;
 extern const struct attribute_group *scsi_sysfs_shost_attr_groups[];
 
 /* scsi_netlink.c */
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 8fcb6e0..6eb0c90 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -149,6 +149,8 @@ struct scsi_cmnd;
 
 #define SCSI_MAX_VARLEN_CDB_SIZE 260
 
+extern struct bus_type scsi_bus_type;
+
 /* defined in T10 SCSI Primary Commands-2 (SPC2) */
 struct scsi_varlen_cdb_hdr {
 	__u8 opcode;        /* opcode always == VARIABLE_LENGTH_CMD */
-- 
1.7.1


             reply	other threads:[~2010-09-15 19:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 19:57 Matthew Garrett [this message]
2010-09-15 19:58 ` [PATCH 2/5] libata: Bind the Linux device tree to the ACPI device tree Matthew Garrett
2010-09-15 19:58 ` [PATCH 3/5] libata: Migrate ACPI code over to new bindings Matthew Garrett
2010-09-15 19:58 ` [PATCH 4/5] acpi: Add support for linking docks to the objects they contain Matthew Garrett
2010-09-15 20:05   ` Randy Dunlap
2010-09-15 20:16     ` [PATCHv2] " Matthew Garrett
2010-09-15 19:58 ` [PATCH 5/5] libata: Add links between removable devices and docks Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1284580683-2386-1-git-send-email-mjg@redhat.com \
    --to=mjg@redhat.com \
    --cc=James.Bottomley@suse.de \
    --cc=jgarzik@pobox.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).