time.c (dd0a11815a339d6deeea8357574f8126a8404c92) | time.c (8f6b9512ceadc6bd52777c299111dc642b4c65b6) |
---|---|
1/* 2 * PS3 time and rtc routines. 3 * 4 * Copyright (C) 2006 Sony Computer Entertainment Inc. 5 * Copyright 2006 Sony Corp. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 78 unchanged lines hidden (view full) --- 87 88 if (!firmware_has_feature(FW_FEATURE_PS3_LV1)) 89 return -ENODEV; 90 91 pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0); 92 93 return PTR_ERR_OR_ZERO(pdev); 94} | 1/* 2 * PS3 time and rtc routines. 3 * 4 * Copyright (C) 2006 Sony Computer Entertainment Inc. 5 * Copyright 2006 Sony Corp. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 78 unchanged lines hidden (view full) --- 87 88 if (!firmware_has_feature(FW_FEATURE_PS3_LV1)) 89 return -ENODEV; 90 91 pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0); 92 93 return PTR_ERR_OR_ZERO(pdev); 94} |
95 96module_init(ps3_rtc_init); | 95device_initcall(ps3_rtc_init); |