Cal. Health & Safety Code § 11370
(c) A previous conviction of any of the following offenses, or of an offense under the laws of another state or of the United States that, if committed in this state, would have been punishable as that offense, shall render a person ineligible for probation or suspension of sentence pursuant to subdivision (a):