Skip to content
projects
/
linux
·
blob
master ·
refs
linux
rust
helpers
platform.c
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
8 lines · 180 B
1
//
SPDX-License-Identifier: GPL-2.0
2
3
#include
<
linux/platform_device.h
>
4
5
__rust_helper
bool
rust_helper_dev_is_platform
(
const
struct
device
*
dev
)
6
{
7
return
dev_is_platform
(
dev
)
;
8
}