Commit 46bb647b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: Revert "svc: drop all symbol exports"

This reverts commit a0e559d03bbb3f9774a091e31c0f77d98db1f60d.

It breaks the camera driver :(
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 6d13b6ff
......@@ -447,6 +447,7 @@ int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
return 0;
}
EXPORT_SYMBOL_GPL(gb_svc_dme_peer_get);
int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
u32 value)
......@@ -479,6 +480,7 @@ int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
return 0;
}
EXPORT_SYMBOL_GPL(gb_svc_dme_peer_set);
int gb_svc_connection_create(struct gb_svc *svc,
u8 intf1_id, u16 cport1_id,
......@@ -497,6 +499,7 @@ int gb_svc_connection_create(struct gb_svc *svc,
return gb_operation_sync(svc->connection, GB_SVC_TYPE_CONN_CREATE,
&request, sizeof(request), NULL, 0);
}
EXPORT_SYMBOL_GPL(gb_svc_connection_create);
void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
u8 intf2_id, u16 cport2_id)
......@@ -517,6 +520,7 @@ void gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
intf1_id, cport1_id, intf2_id, cport2_id, ret);
}
}
EXPORT_SYMBOL_GPL(gb_svc_connection_destroy);
int gb_svc_timesync_enable(struct gb_svc *svc, u8 count, u64 frame_time,
u32 strobe_delay, u32 refclk)
......@@ -532,6 +536,7 @@ int gb_svc_timesync_enable(struct gb_svc *svc, u8 count, u64 frame_time,
GB_SVC_TYPE_TIMESYNC_ENABLE,
&request, sizeof(request), NULL, 0);
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_enable);
int gb_svc_timesync_disable(struct gb_svc *svc)
{
......@@ -541,6 +546,7 @@ int gb_svc_timesync_disable(struct gb_svc *svc)
GB_SVC_TYPE_TIMESYNC_DISABLE,
NULL, 0, NULL, 0);
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_disable);
int gb_svc_timesync_authoritative(struct gb_svc *svc, u64 *frame_time)
{
......@@ -558,6 +564,7 @@ int gb_svc_timesync_authoritative(struct gb_svc *svc, u64 *frame_time)
frame_time[i] = le64_to_cpu(response.frame_time[i]);
return 0;
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_authoritative);
int gb_svc_timesync_ping(struct gb_svc *svc, u64 *frame_time)
{
......@@ -575,6 +582,7 @@ int gb_svc_timesync_ping(struct gb_svc *svc, u64 *frame_time)
*frame_time = le64_to_cpu(response.frame_time);
return 0;
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_ping);
int gb_svc_timesync_wake_pins_acquire(struct gb_svc *svc, u32 strobe_mask)
{
......@@ -587,6 +595,7 @@ int gb_svc_timesync_wake_pins_acquire(struct gb_svc *svc, u32 strobe_mask)
&request, sizeof(request),
NULL, 0);
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_wake_pins_acquire);
int gb_svc_timesync_wake_pins_release(struct gb_svc *svc)
{
......@@ -596,6 +605,7 @@ int gb_svc_timesync_wake_pins_release(struct gb_svc *svc)
GB_SVC_TYPE_TIMESYNC_WAKE_PINS_RELEASE,
NULL, 0, NULL, 0);
}
EXPORT_SYMBOL_GPL(gb_svc_timesync_wake_pins_release);
/* Creates bi-directional routes between the devices */
int gb_svc_route_create(struct gb_svc *svc, u8 intf1_id, u8 dev1_id,
......@@ -675,6 +685,7 @@ int gb_svc_intf_set_power_mode(struct gb_svc *svc, u8 intf_id, u8 hs_series,
return 0;
}
EXPORT_SYMBOL_GPL(gb_svc_intf_set_power_mode);
int gb_svc_intf_set_power_mode_hibernate(struct gb_svc *svc, u8 intf_id)
{
......@@ -717,6 +728,7 @@ int gb_svc_ping(struct gb_svc *svc)
NULL, 0, NULL, 0,
GB_OPERATION_TIMEOUT_DEFAULT * 2);
}
EXPORT_SYMBOL_GPL(gb_svc_ping);
static int gb_svc_version_request(struct gb_operation *op)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment