lkml.org 
[lkml]   [2011]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 18/28] ARM: tegra: add CPU_IDLE driver
On 01/23/2011 06:01 PM, Colin Cross wrote:
>
> +static int __init tegra_cpuidle_debug_init(void)
> +{
> + struct dentry *dir;
> + struct dentry *d;
> +
> + dir = debugfs_create_dir("cpuidle", NULL);
> + if (!dir)
> + return -ENOMEM;
> +
> + d = debugfs_create_file("lp2", S_IRUGO, dir, NULL,
> + &tegra_lp2_debug_ops);
> + if (!d)
> + return -ENOMEM;
> +
> + return 0;
> +}
> +#endif
> +
> +late_initcall(tegra_cpuidle_debug_init);

Will this compile with CONFIG_DEBUG_FS=n?

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.



\
 
 \ /
  Last update: 2011-01-27 21:41    [W:1.240 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site