Subversion Repositories Kolibri OS

Rev

Rev 1963 | Rev 2997 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1963 Rev 2160
Line 94... Line 94...
94
#ifdef CONFIG_OF
94
#ifdef CONFIG_OF
95
/*
95
/*
96
 * Read XTAL (ref clock), SCLK and MCLK from Open Firmware device
96
 * Read XTAL (ref clock), SCLK and MCLK from Open Firmware device
97
 * tree. Hopefully, ATI OF driver is kind enough to fill these
97
 * tree. Hopefully, ATI OF driver is kind enough to fill these
98
 */
98
 */
99
static bool __devinit radeon_read_clocks_OF(struct drm_device *dev)
99
static bool radeon_read_clocks_OF(struct drm_device *dev)
100
{
100
{
101
	struct radeon_device *rdev = dev->dev_private;
101
	struct radeon_device *rdev = dev->dev_private;
102
	struct device_node *dp = rdev->pdev->dev.of_node;
102
	struct device_node *dp = rdev->pdev->dev.of_node;
103
	const u32 *val;
103
	const u32 *val;
104
	struct radeon_pll *p1pll = &rdev->clock.p1pll;
104
	struct radeon_pll *p1pll = &rdev->clock.p1pll;