@@ -139,7 +139,7 @@ coresight_find_csdev_by_fwnode(struct fwnode_handle *r_fwnode)
139139EXPORT_SYMBOL_GPL (coresight_find_csdev_by_fwnode );
140140
141141#ifdef CONFIG_OF
142- static inline bool of_coresight_legacy_ep_is_input (struct device_node * ep )
142+ static bool of_coresight_legacy_ep_is_input (struct device_node * ep )
143143{
144144 return of_property_read_bool (ep , "slave-mode" );
145145}
@@ -159,7 +159,7 @@ static struct device_node *of_coresight_get_port_parent(struct device_node *ep)
159159 return parent ;
160160}
161161
162- static inline struct device_node *
162+ static struct device_node *
163163of_coresight_get_output_ports_node (const struct device_node * node )
164164{
165165 return of_get_child_by_name (node , "out-ports" );
@@ -327,14 +327,14 @@ static int of_get_coresight_platform_data(struct device *dev,
327327 return 0 ;
328328}
329329#else
330- static inline int
330+ static int
331331of_get_coresight_platform_data (struct device * dev ,
332332 struct coresight_platform_data * pdata )
333333{
334334 return - ENOENT ;
335335}
336336
337- static inline int of_coresight_get_cpu (struct device * dev )
337+ static int of_coresight_get_cpu (struct device * dev )
338338{
339339 return - ENODEV ;
340340}
@@ -356,7 +356,7 @@ static const guid_t coresight_graph_uuid = GUID_INIT(0x3ecbc8b6, 0x1d0e, 0x4fb3,
356356#define ACPI_CORESIGHT_LINK_SLAVE 0
357357#define ACPI_CORESIGHT_LINK_MASTER 1
358358
359- static inline bool is_acpi_guid (const union acpi_object * obj )
359+ static bool is_acpi_guid (const union acpi_object * obj )
360360{
361361 return (obj -> type == ACPI_TYPE_BUFFER ) && (obj -> buffer .length == 16 );
362362}
@@ -365,24 +365,24 @@ static inline bool is_acpi_guid(const union acpi_object *obj)
365365 * acpi_guid_matches - Checks if the given object is a GUID object and
366366 * that it matches the supplied the GUID.
367367 */
368- static inline bool acpi_guid_matches (const union acpi_object * obj ,
368+ static bool acpi_guid_matches (const union acpi_object * obj ,
369369 const guid_t * guid )
370370{
371371 return is_acpi_guid (obj ) &&
372372 guid_equal ((guid_t * )obj -> buffer .pointer , guid );
373373}
374374
375- static inline bool is_acpi_dsd_graph_guid (const union acpi_object * obj )
375+ static bool is_acpi_dsd_graph_guid (const union acpi_object * obj )
376376{
377377 return acpi_guid_matches (obj , & acpi_graph_uuid );
378378}
379379
380- static inline bool is_acpi_coresight_graph_guid (const union acpi_object * obj )
380+ static bool is_acpi_coresight_graph_guid (const union acpi_object * obj )
381381{
382382 return acpi_guid_matches (obj , & coresight_graph_uuid );
383383}
384384
385- static inline bool is_acpi_coresight_graph (const union acpi_object * obj )
385+ static bool is_acpi_coresight_graph (const union acpi_object * obj )
386386{
387387 const union acpi_object * graphid , * guid , * links ;
388388
@@ -469,7 +469,7 @@ static inline bool is_acpi_coresight_graph(const union acpi_object *obj)
469469 * }, // End of ACPI Graph Property
470470 * })
471471 */
472- static inline bool acpi_validate_dsd_graph (const union acpi_object * graph )
472+ static bool acpi_validate_dsd_graph (const union acpi_object * graph )
473473{
474474 int i , n ;
475475 const union acpi_object * rev , * nr_graphs ;
@@ -553,7 +553,7 @@ acpi_get_dsd_graph(struct acpi_device *adev, struct acpi_buffer *buf)
553553 return NULL ;
554554}
555555
556- static inline bool
556+ static bool
557557acpi_validate_coresight_graph (const union acpi_object * cs_graph )
558558{
559559 int nlinks ;
@@ -794,14 +794,14 @@ acpi_get_coresight_platform_data(struct device *dev,
794794
795795#else
796796
797- static inline int
797+ static int
798798acpi_get_coresight_platform_data (struct device * dev ,
799799 struct coresight_platform_data * pdata )
800800{
801801 return - ENOENT ;
802802}
803803
804- static inline int acpi_coresight_get_cpu (struct device * dev )
804+ static int acpi_coresight_get_cpu (struct device * dev )
805805{
806806 return - ENODEV ;
807807}
0 commit comments