coding guidelines: comply with MISRA Rule 11.8
- modified parameter types to receive a const pointer when a non-const pointer is not needed Signed-off-by: Hess Nathan <nhess@baumer.com>
This commit is contained in:
parent
a9565f7a96
commit
209a3bd40a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ DEVICE_DEFINE(foo0, "foo0", foo_single_init, NULL,
|
|||
*/
|
||||
ZTEST(device, test_mmio_single)
|
||||
{
|
||||
struct z_device_mmio_rom *rom;
|
||||
const struct z_device_mmio_rom *rom;
|
||||
const struct device *dev = device_get_binding("foo0");
|
||||
mm_reg_t regs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue