; or (ii) an application for a labor certification under section 212(a)(5)(A); ; (3) by striking paragraph (1)(C); and (4) by striking Attorney General each place such term appears and inserting Secretary of Homeland Security . 806. Discretionary waiver of inadmissibility based on unlawful presence, failure to attend removal proceedings, and misrepresentations (a) In general Section 212(i) ( 8 U.S.C. 1182(i) ) is amended to read as follows: (i) The Secretary of Homeland Security may waive the application of subparagraph (A)(i) or (B), or clause (i) or (ii) of subparagraph (C), of subsection (a)(6) in the case of an immigrant who is the parent, spouse, child, son, or daughter of a United States citizen or of an alien lawfully admitted to the United States for permanent residence, if it is established to the satisfaction of the Secretary that the refusal of admission to the United States of such immigrant would result in hardship to the immigrant or to such citizen or lawful permanent resident parent, spouse, child, son, or daughter. . (b) Conforming amendments Section 212(a)(6) ( 8 U.S.C. 1182(a)(6) ) is amended— (1) in subparagraph (A), by adding at the end the following: (iii) Waiver authorized For a provision authorizing the waiver of clause (i), see subsection (i). ; (2) in subparagraph (B)— (A) by inserting (i) after the subparagraph heading; and (B) by adding at the end the following: (ii) Waiver authorized For a provision authorizing the waiver of clause (i), see subsection (i). ; and (3) in subparagraph (C)(iii), by inserting or (ii) after (i) . 807. Waiver of inadmissibility for minor criminal offenses Section 212(h) ( 8 U.S.C. 1182(h) ) is amended— (1) in the matter preceding paragraph (1), by striking offense of simple possession of 30 grams or less of marijuana and inserting controlled substance offense for which the alien was not incarcerated for a period exceeding 1 year