https://github.com/torvalds/linux
Revision e490520c902e06e837e07948f026e7949bb16007 authored by Kevin Hilman on 04 June 2018, 22:23:09 UTC, committed by Kevin Hilman on 27 June 2018, 23:48:25 UTC
Based on updated information from Amlogic, correct the register range
for the SD/eMMC blocks to the right size.

Reported-by: Yixun Lan <yixun.lan@amlogic.com>
Tested-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
1 parent d5b4885
Raw File
Tip revision: e490520c902e06e837e07948f026e7949bb16007 authored by Kevin Hilman on 04 June 2018, 22:23:09 UTC
ARM64: dts: meson: fix register ranges for SD/eMMC
Tip revision: e490520
test_module.c
/*
 * This module emits "Hello, world" on printk when loaded.
 *
 * It is designed to be used for basic evaluation of the module loading
 * subsystem (for example when validating module signing/verification). It
 * lacks any extra dependencies, and will not normally be loaded by the
 * system unless explicitly requested by name.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/init.h>
#include <linux/module.h>
#include <linux/printk.h>

static int __init test_module_init(void)
{
	pr_warn("Hello, world\n");

	return 0;
}

module_init(test_module_init);

static void __exit test_module_exit(void)
{
	pr_warn("Goodbye\n");
}

module_exit(test_module_exit);

MODULE_AUTHOR("Kees Cook <keescook@chromium.org>");
MODULE_LICENSE("GPL");
back to top