diff options
| author | Jan Beulich <JBeulich@suse.com> | 2015-01-23 03:37:01 -0500 |
|---|---|---|
| committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-23 06:55:24 -0500 |
| commit | 144c61ad355a4f31a45a2cd91c808020c4322374 (patch) | |
| tree | abd9881560308cc48432166856224ada98d0d746 /drivers/xen | |
| parent | 94dd85f6a0688245dbb5a452a86a2a545dee96c1 (diff) | |
xen/tmem: mark xen_tmem_init() __init
As a module_init() function, this should have been this way from the
beginning.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen')
| -rw-r--r-- | drivers/xen/tmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index 83b5c53bec6b..8a65423bc696 100644 --- a/drivers/xen/tmem.c +++ b/drivers/xen/tmem.c | |||
| @@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = { | |||
| 374 | }; | 374 | }; |
| 375 | #endif | 375 | #endif |
| 376 | 376 | ||
| 377 | static int xen_tmem_init(void) | 377 | static int __init xen_tmem_init(void) |
| 378 | { | 378 | { |
| 379 | if (!xen_domain()) | 379 | if (!xen_domain()) |
| 380 | return 0; | 380 | return 0; |
