aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:25 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:11:31 -0500
commit305c891e2a5ef6bc8d6399cd7178771224feac25 (patch)
tree91c15a6171e5a4b82bbfaed0f7bd4dbc69ec9791 /drivers/rapidio
parente765a02cb64bfef53f290122ca0897ef329a4e76 (diff)
rapidio: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Matt Porter <mporter@kernel.crashing.org> Acked-by: Alexandre Bounine <alexandre.bounine@idt.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rapidio')
-rw-r--r--drivers/rapidio/devices/tsi721.c4
-rw-r--r--drivers/rapidio/devices/tsi721.h2
-rw-r--r--drivers/rapidio/devices/tsi721_dma.c2
-rw-r--r--drivers/rapidio/rio-scan.c14
-rw-r--r--drivers/rapidio/rio.c6
5 files changed, 14 insertions, 14 deletions
diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c
index 38ecd8f4d60e..6faba406b6e9 100644
--- a/drivers/rapidio/devices/tsi721.c
+++ b/drivers/rapidio/devices/tsi721.c
@@ -2202,7 +2202,7 @@ static void tsi721_disable_ints(struct tsi721_device *priv)
2202 * 2202 *
2203 * Configures Tsi721 as RapidIO master port. 2203 * Configures Tsi721 as RapidIO master port.
2204 */ 2204 */
2205static int __devinit tsi721_setup_mport(struct tsi721_device *priv) 2205static int tsi721_setup_mport(struct tsi721_device *priv)
2206{ 2206{
2207 struct pci_dev *pdev = priv->pdev; 2207 struct pci_dev *pdev = priv->pdev;
2208 int err = 0; 2208 int err = 0;
@@ -2302,7 +2302,7 @@ err_exit:
2302 return err; 2302 return err;
2303} 2303}
2304 2304
2305static int __devinit tsi721_probe(struct pci_dev *pdev, 2305static int tsi721_probe(struct pci_dev *pdev,
2306 const struct pci_device_id *id) 2306 const struct pci_device_id *id)
2307{ 2307{
2308 struct tsi721_device *priv; 2308 struct tsi721_device *priv;
diff --git a/drivers/rapidio/devices/tsi721.h b/drivers/rapidio/devices/tsi721.h
index 7d5b13ba8d4f..b4b0d83f9ef6 100644
--- a/drivers/rapidio/devices/tsi721.h
+++ b/drivers/rapidio/devices/tsi721.h
@@ -846,7 +846,7 @@ struct tsi721_device {
846 846
847#ifdef CONFIG_RAPIDIO_DMA_ENGINE 847#ifdef CONFIG_RAPIDIO_DMA_ENGINE
848extern void tsi721_bdma_handler(struct tsi721_bdma_chan *bdma_chan); 848extern void tsi721_bdma_handler(struct tsi721_bdma_chan *bdma_chan);
849extern int __devinit tsi721_register_dma(struct tsi721_device *priv); 849extern int tsi721_register_dma(struct tsi721_device *priv);
850#endif 850#endif
851 851
852#endif 852#endif
diff --git a/drivers/rapidio/devices/tsi721_dma.c b/drivers/rapidio/devices/tsi721_dma.c
index 92e06a5c62ec..502663f5f7c6 100644
--- a/drivers/rapidio/devices/tsi721_dma.c
+++ b/drivers/rapidio/devices/tsi721_dma.c
@@ -765,7 +765,7 @@ static int tsi721_device_control(struct dma_chan *dchan, enum dma_ctrl_cmd cmd,
765 return 0; 765 return 0;
766} 766}
767 767
768int __devinit tsi721_register_dma(struct tsi721_device *priv) 768int tsi721_register_dma(struct tsi721_device *priv)
769{ 769{
770 int i; 770 int i;
771 int nr_channels = TSI721_DMA_MAXCH; 771 int nr_channels = TSI721_DMA_MAXCH;
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index 07da58bb495c..a965acd3c0e4 100644
--- a/drivers/rapidio/rio-scan.c
+++ b/drivers/rapidio/rio-scan.c
@@ -371,7 +371,7 @@ static void rio_switch_init(struct rio_dev *rdev, int do_enum)
371 * device to the RIO device list. Creates the generic sysfs nodes 371 * device to the RIO device list. Creates the generic sysfs nodes
372 * for an RIO device. 372 * for an RIO device.
373 */ 373 */
374static int __devinit rio_add_device(struct rio_dev *rdev) 374static int rio_add_device(struct rio_dev *rdev)
375{ 375{
376 int err; 376 int err;
377 377
@@ -463,7 +463,7 @@ inline int rio_enable_rx_tx_port(struct rio_mport *port,
463 * to a RIO device on success or NULL on failure. 463 * to a RIO device on success or NULL on failure.
464 * 464 *
465 */ 465 */
466static struct rio_dev __devinit *rio_setup_device(struct rio_net *net, 466static struct rio_dev *rio_setup_device(struct rio_net *net,
467 struct rio_mport *port, u16 destid, 467 struct rio_mport *port, u16 destid,
468 u8 hopcount, int do_enum) 468 u8 hopcount, int do_enum)
469{ 469{
@@ -837,7 +837,7 @@ static u16 rio_get_host_deviceid_lock(struct rio_mport *port, u8 hopcount)
837 * Recursively enumerates a RIO network. Transactions are sent via the 837 * Recursively enumerates a RIO network. Transactions are sent via the
838 * master port passed in @port. 838 * master port passed in @port.
839 */ 839 */
840static int __devinit rio_enum_peer(struct rio_net *net, struct rio_mport *port, 840static int rio_enum_peer(struct rio_net *net, struct rio_mport *port,
841 u8 hopcount, struct rio_dev *prev, int prev_port) 841 u8 hopcount, struct rio_dev *prev, int prev_port)
842{ 842{
843 struct rio_dev *rdev; 843 struct rio_dev *rdev;
@@ -1044,7 +1044,7 @@ static int rio_enum_complete(struct rio_mport *port)
1044 * Recursively discovers a RIO network. Transactions are sent via the 1044 * Recursively discovers a RIO network. Transactions are sent via the
1045 * master port passed in @port. 1045 * master port passed in @port.
1046 */ 1046 */
1047static int __devinit 1047static int
1048rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, 1048rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid,
1049 u8 hopcount, struct rio_dev *prev, int prev_port) 1049 u8 hopcount, struct rio_dev *prev, int prev_port)
1050{ 1050{
@@ -1151,7 +1151,7 @@ static int rio_mport_is_active(struct rio_mport *port)
1151 * network list of associated master ports. Returns a 1151 * network list of associated master ports. Returns a
1152 * RIO network pointer on success or %NULL on failure. 1152 * RIO network pointer on success or %NULL on failure.
1153 */ 1153 */
1154static struct rio_net __devinit *rio_alloc_net(struct rio_mport *port, 1154static struct rio_net *rio_alloc_net(struct rio_mport *port,
1155 int do_enum, u16 start) 1155 int do_enum, u16 start)
1156{ 1156{
1157 struct rio_net *net; 1157 struct rio_net *net;
@@ -1266,7 +1266,7 @@ static void rio_pw_enable(struct rio_mport *port, int enable)
1266 * link, then start recursive peer enumeration. Returns %0 if 1266 * link, then start recursive peer enumeration. Returns %0 if
1267 * enumeration succeeds or %-EBUSY if enumeration fails. 1267 * enumeration succeeds or %-EBUSY if enumeration fails.
1268 */ 1268 */
1269int __devinit rio_enum_mport(struct rio_mport *mport) 1269int rio_enum_mport(struct rio_mport *mport)
1270{ 1270{
1271 struct rio_net *net = NULL; 1271 struct rio_net *net = NULL;
1272 int rc = 0; 1272 int rc = 0;
@@ -1369,7 +1369,7 @@ static void rio_build_route_tables(struct rio_net *net)
1369 * peer discovery. Returns %0 if discovery succeeds or %-EBUSY 1369 * peer discovery. Returns %0 if discovery succeeds or %-EBUSY
1370 * on failure. 1370 * on failure.
1371 */ 1371 */
1372int __devinit rio_disc_mport(struct rio_mport *mport) 1372int rio_disc_mport(struct rio_mport *mport)
1373{ 1373{
1374 struct rio_net *net = NULL; 1374 struct rio_net *net = NULL;
1375 unsigned long to_end; 1375 unsigned long to_end;
diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c
index c17ae22567e0..08bf922d2f20 100644
--- a/drivers/rapidio/rio.c
+++ b/drivers/rapidio/rio.c
@@ -1250,7 +1250,7 @@ static void rio_fixup_device(struct rio_dev *dev)
1250{ 1250{
1251} 1251}
1252 1252
1253static int __devinit rio_init(void) 1253static int rio_init(void)
1254{ 1254{
1255 struct rio_dev *dev = NULL; 1255 struct rio_dev *dev = NULL;
1256 1256
@@ -1267,7 +1267,7 @@ struct rio_disc_work {
1267 struct rio_mport *mport; 1267 struct rio_mport *mport;
1268}; 1268};
1269 1269
1270static void __devinit disc_work_handler(struct work_struct *_work) 1270static void disc_work_handler(struct work_struct *_work)
1271{ 1271{
1272 struct rio_disc_work *work; 1272 struct rio_disc_work *work;
1273 1273
@@ -1277,7 +1277,7 @@ static void __devinit disc_work_handler(struct work_struct *_work)
1277 rio_disc_mport(work->mport); 1277 rio_disc_mport(work->mport);
1278} 1278}
1279 1279
1280int __devinit rio_init_mports(void) 1280int rio_init_mports(void)
1281{ 1281{
1282 struct rio_mport *port; 1282 struct rio_mport *port;
1283 struct rio_disc_work *work; 1283 struct rio_disc_work *work;