| From | Andi Kleen <> | Subject | [PATCH 11/74] sections: Add __visible to rapidio sections | Date | Sat, 18 Aug 2012 19:56:07 -0700 |
| |
From: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com> --- drivers/rapidio/rio.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h index b1af414..1fd0138 100644 --- a/drivers/rapidio/rio.h +++ b/drivers/rapidio/rio.h @@ -44,8 +44,8 @@ extern struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *from); extern struct device_attribute rio_dev_attrs[]; extern spinlock_t rio_global_list_lock; -extern struct rio_switch_ops __start_rio_switch_ops[]; -extern struct rio_switch_ops __end_rio_switch_ops[]; +extern __visible struct rio_switch_ops __start_rio_switch_ops[]; +extern __visible struct rio_switch_ops __end_rio_switch_ops[]; /* Helpers internal to the RIO core code */ #define DECLARE_RIO_SWITCH_SECTION(section, name, vid, did, init_hook) \ -- 1.7.7.6
|